mirror of
https://github.com/espressif/esp-mqtt.git
synced 2025-07-31 19:25:14 +02:00
build system: re-add -Wno-format as private flag for some components
This commit is contained in:
committed by
Euripedes Rocha
parent
01d0f34654
commit
ee9b52b7d2
@@ -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")
|
||||
|
@@ -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")
|
||||
|
Reference in New Issue
Block a user