mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-13 14:31:56 +00:00
Replaces cases of setting SOURCES before calling find_package with proper target_sources. Signed-off-by: Yuval Peress <peress@google.com>
15 lines
369 B
CMake
15 lines
369 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
cmake_minimum_required(VERSION 3.20.0)
|
|
|
|
project(bluetooth_ull_llcp_api)
|
|
find_package(Zephyr COMPONENTS unittest HINTS $ENV{ZEPHYR_BASE})
|
|
include(${ZEPHYR_BASE}/tests/bluetooth/controller/common/defaults_cmake.txt)
|
|
target_sources(testbinary
|
|
PRIVATE
|
|
src/main.c
|
|
${ll_sw_sources}
|
|
${mock_sources}
|
|
${common_sources}
|
|
)
|