From 821fb0d9d7418ad2d2bb8a417bd98d12eea5a3d8 Mon Sep 17 00:00:00 2001 From: GW_MC <72297530+GWMCwing@users.noreply.github.com> Date: Mon, 19 Jan 2026 11:19:59 +0800 Subject: [PATCH] added network dependencies --- main/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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")