Merge pull request #14702 from jrobeson/silence-warnings-in-3rd-party-nordic-code

Silence expansion-to-defined for nrfx
pull/14720/head
Martin Kojtal 2021-05-31 15:33:58 +02:00 committed by GitHub
commit 15728abc85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)