From 62bec16def304add8fe110d0662ca9bd2af7dc1a Mon Sep 17 00:00:00 2001 From: Torsten Rasmussen Date: Thu, 16 Apr 2020 21:38:13 +0200 Subject: [PATCH] cmake: Updating test samples to use find_package(Zephyr) The following PR's #23941 #23601 was merged using old boilerplate inclusion. This commit updates those tests to use find_package(Zephyr) Signed-off-by: Torsten Rasmussen --- tests/lib/heap/CMakeLists.txt | 2 +- tests/lib/notify/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/lib/heap/CMakeLists.txt b/tests/lib/heap/CMakeLists.txt index 7fbd555f16de5..cecd7226fbc29 100644 --- a/tests/lib/heap/CMakeLists.txt +++ b/tests/lib/heap/CMakeLists.txt @@ -1,7 +1,7 @@ # SPDX-License-Identifier: Apache-2.0 cmake_minimum_required(VERSION 3.13.1) -include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) +find_package(Zephyr HINTS $ENV{ZEPHYR_BASE}) project(heap) FILE(GLOB app_sources src/*.c) diff --git a/tests/lib/notify/CMakeLists.txt b/tests/lib/notify/CMakeLists.txt index abd9e6e13baee..a82a3fce60f5b 100644 --- a/tests/lib/notify/CMakeLists.txt +++ b/tests/lib/notify/CMakeLists.txt @@ -1,7 +1,7 @@ # SPDX-License-Identifier: Apache-2.0 cmake_minimum_required(VERSION 3.13.1) -include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) +find_package(Zephyr HINTS $ENV{ZEPHYR_BASE}) project(sys_notify) FILE(GLOB app_sources src/*.c)