mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-06 14:05:31 +00:00
This commit is a followup to PR #25808 which updates the tests to ensure the REQUIRED keyword is also used for the ZephyrUnitest package. This provides a better error message when building with CMake and forgetting ZEPHYR_BASE or not registering Zephyr in the CMake package registry. Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
6 lines
153 B
CMake
6 lines
153 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
project(math_extras)
|
|
set(SOURCES main.c portable.c)
|
|
find_package(ZephyrUnittest REQUIRED HINTS $ENV{ZEPHYR_BASE})
|