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 Euripedes Rocha
parent 01d0f34654
commit ee9b52b7d2
2 changed files with 2 additions and 0 deletions

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")

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")