Skip to content

Commit 65533a9

Browse files
author
Johnny Robeson
committed
Silence expansion-to-defined in nrfx
1 parent 2ea0386 commit 65533a9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_SDK_15_0/CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,12 @@
33

44
add_library(mbed-sdk-15-0 INTERFACE)
55

6+
# Silence unfixable warning in nrfx
7+
target_compile_options(mbed-sdk-15-0 INTERFACE -Wno-expansion-to-defined)
8+
69
add_subdirectory(TARGET_SOFTDEVICE_NONE EXCLUDE_FROM_ALL)
710
add_subdirectory(components EXCLUDE_FROM_ALL)
811
add_subdirectory(integration EXCLUDE_FROM_ALL)
912
add_subdirectory(modules EXCLUDE_FROM_ALL)
1013

11-
target_link_libraries(mbed-sdk-15-0 INTERFACE mbed-softdevice-none)
14+
target_link_libraries(mbed-sdk-15-0 INTERFACE mbed-softdevice-none)

0 commit comments

Comments
 (0)