cmake: use find_package() instead of literal include in tests and samples
Convert remaining tests and samples to using find_package() instead of literally including the CMake boilerplate code. Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
This commit is contained in:
parent
2d7cabb970
commit
265cdf8dc6
21 changed files with 21 additions and 21 deletions
|
@ -1,7 +1,7 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
cmake_minimum_required(VERSION 3.20.0)
|
||||
include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE)
|
||||
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
|
||||
project(central_ht)
|
||||
|
||||
FILE(GLOB app_sources src/*.c)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue