mirror of
https://github.com/espressif/esp-mqtt.git
synced 2025-09-26 07:01:31 +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_INCLUDE_DIRS "esp-mqtt/lib/include"
|
||||||
PRIV_REQUIRES esp_timer
|
PRIV_REQUIRES esp_timer
|
||||||
)
|
)
|
||||||
|
target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format")
|
||||||
|
|
||||||
if(TEST_BUILD)
|
if(TEST_BUILD)
|
||||||
message(STATUS "building MOCKS")
|
message(STATUS "building MOCKS")
|
||||||
|
@@ -6,3 +6,4 @@ endif()
|
|||||||
|
|
||||||
idf_component_register(SRCS "${srcs}"
|
idf_component_register(SRCS "${srcs}"
|
||||||
PRIV_REQUIRES cmock test_utils mqtt nvs_flash app_update esp_eth esp_netif)
|
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