diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt index 4c8dd40..49c53c4 100644 --- a/main/CMakeLists.txt +++ b/main/CMakeLists.txt @@ -1,6 +1,6 @@ +set(requires esp-tls spi_flash nvs_flash esp_event esp_netif esp_http_client) file(GLOB SRCS "main.cpp" "*.cpp" "*.c" "**/*.cpp" "**/*.c") + idf_component_register(SRCS ${SRCS} - PRIV_REQUIRES - spi_flash - nvs_flash + PRIV_REQUIRES ${requires} INCLUDE_DIRS "." "display" "touch" "network" "ui" "io" "common")