cmake: set IS_TEST in the hello_world sample
The Kbuild equivalent of IS_TEST was used for hello_world before, so we revert back to the old behaviour. This resolves https://github.com/zephyrproject-rtos/zephyr/issues/4904 Signed-off-by: Sebastian Boe <sebastian.boe@nordicsemi.no>
This commit is contained in:
parent
d55884a34d
commit
c7c7917da2
1 changed files with 2 additions and 0 deletions
|
|
@ -1,3 +1,5 @@
|
|||
set(IS_TEST 1)
|
||||
|
||||
include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE)
|
||||
project(NONE)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue