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

This commit is contained in:
Ivan Grokhotkov authored and Euripedes Rocha committed 2022-12-16 08:38:48 +01:00
1 parent 01d0f34654
commit ee9b52b7d2
2 files changed
+2

No files matched your search

+1
View File
@@ -9,6 +9,7 @@ idf_component_register(SRCS "${srcs}"
PRIV_INCLUDE_DIRS "esp-mqtt/lib/include"
PRIV_REQUIRES esp_timer
)
target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format")
if(TEST_BUILD)
message(STATUS "building MOCKS")
+1
View File
@@ -6,3 +6,4 @@ endif()
idf_component_register(SRCS "${srcs}"
PRIV_REQUIRES cmock test_utils mqtt nvs_flash app_update esp_eth esp_netif)
target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format")