build system: re-add -Wno-format as private flag for some components

This commit is contained in:
Ivan Grokhotkov
2022-01-31 19:45:31 +01:00
committed by Alexey Lapshin
parent 879352b7f3
commit 401c10ecfb
93 changed files with 134 additions and 2 deletions

View File

@@ -58,3 +58,5 @@ if(NOT CMAKE_BUILD_EARLY_EXPANSION)
target_compile_options(${COMPONENT_TARGET} PRIVATE "-DMULTI_HEAP_FREERTOS")
endif()
endif()
target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format")

View File

@@ -1,3 +1,4 @@
idf_component_register(SRC_DIRS "."
PRIV_INCLUDE_DIRS "."
PRIV_REQUIRES cmock test_utils heap)
target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format")