Turn off GCC warnings when building the dependancies

This commit is contained in:
Robert May 2015-10-27 19:53:37 +00:00
parent b2d3417559
commit a39ba7d4f7
1 changed files with 6 additions and 0 deletions

View File

@ -80,3 +80,9 @@ target_link_libraries(microbit-dal
ble
ble-nrf51822
)
if(CMAKE_COMPILER_IS_GNUCC)
target_compile_options(mbed-classic PRIVATE "-w")
target_compile_options(ble PRIVATE "-w")
target_compile_options(ble-nrf51822 PRIVATE "-w")
endif()