cmake: silence some warnings in coap, bt, expat, libsodium, lwip and examples/bluetooth

This commit is contained in:
Anton Maklakov
2018-09-18 11:44:24 +08:00
parent 90d4a1d1e9
commit d4cbfd34cc
6 changed files with 44 additions and 14 deletions

View File

@@ -5,3 +5,7 @@ set(COMPONENT_SRCS "ble_hidd_demo_main.c"
set(COMPONENT_ADD_INCLUDEDIRS ".")
register_component()
if(GCC_NOT_5_2_0)
component_compile_options(-Wno-unused-const-variable)
endif()