diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt index 271ed29..3ce290e 100755 --- a/source/CMakeLists.txt +++ b/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()