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:
Henrik Brix Andersen 2021-10-28 20:46:08 +02:00 committed by Anas Nashif
commit 265cdf8dc6
21 changed files with 21 additions and 21 deletions

View file

@ -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)