examples: update with build system changes

This commit is contained in:
Renz Christian Bagaporo
2019-04-26 17:51:48 +08:00
parent ffec9d4947
commit d214bb912f
9 changed files with 22 additions and 14 deletions

View File

@@ -7,5 +7,5 @@ set(COMPONENT_ADD_INCLUDEDIRS ".")
register_component()
if(GCC_NOT_5_2_0)
component_compile_options(-Wno-unused-const-variable)
target_compile_options(${COMPONENT_LIB} PRIVATE -Wno-unused-const-variable)
endif()