Silence expansion-to-defined in nrfx

pull/14702/head
Johnny Robeson 2021-05-26 01:06:01 -04:00
parent 2ea0386f55
commit 65533a9d81
1 changed files with 4 additions and 1 deletions

View File

@ -3,9 +3,12 @@
add_library(mbed-sdk-15-0 INTERFACE)
# Silence unfixable warning in nrfx
target_compile_options(mbed-sdk-15-0 INTERFACE -Wno-expansion-to-defined)
add_subdirectory(TARGET_SOFTDEVICE_NONE EXCLUDE_FROM_ALL)
add_subdirectory(components EXCLUDE_FROM_ALL)
add_subdirectory(integration EXCLUDE_FROM_ALL)
add_subdirectory(modules EXCLUDE_FROM_ALL)
target_link_libraries(mbed-sdk-15-0 INTERFACE mbed-softdevice-none)
target_link_libraries(mbed-sdk-15-0 INTERFACE mbed-softdevice-none)