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

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()