Files
esp-protocols/examples/mqtt/main/CMakeLists.txt

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
317 B
CMake
Raw Normal View History

set(requires "")
if(${IDF_TARGET} STREQUAL "linux")
list(APPEND requires esp_stubs esp-tls protocol_examples_common mqtt)
endif()
idf_component_register(SRCS "app_main.c"
INCLUDE_DIRS "."
REQUIRES ${requires})
target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format")