Skip to content

Commit c50205e

Browse files
committed
app: Move CMake warning
Move CMake warning Signed-off-by: Simen S. Røstad <simen.rostad@nordicsemi.no>
1 parent 2bdf778 commit c50205e

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

app/CMakeLists.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,3 @@ add_subdirectory(src/cbor)
2727
add_subdirectory_ifdef(CONFIG_APP_POWER src/modules/power)
2828
add_subdirectory_ifdef(CONFIG_APP_ENVIRONMENTAL src/modules/environmental)
2929
add_subdirectory_ifdef(CONFIG_APP_LED src/modules/led)
30-
31-
if (CONFIG_NRF_CLOUD_COAP_SEC_TAG GREATER_EQUAL 2147483648 AND CONFIG_NRF_CLOUD_COAP_SEC_TAG LESS_EQUAL 2147483667)
32-
message(WARNING "CONFIG_NRF_CLOUD_COAP_SEC_TAG is set to a developer security tag. "
33-
"TLS traffic can now be decrypted with Nordic tools. "
34-
"This should only be used during development and testing.")
35-
endif()

app/src/modules/cloud/CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,9 @@
77
target_sources(app PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/cloud_module.c)
88
target_sources_ifdef(CONFIG_APP_CLOUD_SHELL app PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/cloud_module_shell.c)
99
target_include_directories(app PRIVATE .)
10+
11+
if (CONFIG_NRF_CLOUD_COAP_SEC_TAG GREATER_EQUAL 2147483648 AND CONFIG_NRF_CLOUD_COAP_SEC_TAG LESS_EQUAL 2147483667)
12+
message(WARNING "CONFIG_NRF_CLOUD_COAP_SEC_TAG is set to a developer security tag. "
13+
"TLS traffic can now be decrypted with Nordic tools. "
14+
"This should only be used during development and testing.")
15+
endif()

0 commit comments

Comments
 (0)