esp-idf/examples/protocols/http_server/simple/main/CMakeLists.txt

8 lines
271 B
CMake
Raw Normal View History

set(requires "")
if(${IDF_TARGET} STREQUAL "linux")
list(APPEND requires esp_stubs esp-tls esp_http_server protocol_examples_common nvs_flash)
endif()
idf_component_register(SRCS "main.c"
INCLUDE_DIRS "."
REQUIRES ${requires})