Turn off GCC warnings when building the dependancies

master
Robert May 7 years ago
parent b2d3417559
commit a39ba7d4f7
  1. 6
      source/CMakeLists.txt

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

Loading…
Cancel
Save