From 2596752d81165067b2d366e9b91bb62e8a61bf03 Mon Sep 17 00:00:00 2001 From: Shubham Patil Date: Mon, 29 May 2023 19:57:42 +0530 Subject: [PATCH] [ESP32] Use the backward compatible option for linking wifi libs (#26923) --- config/esp32/components/chip/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/esp32/components/chip/CMakeLists.txt b/config/esp32/components/chip/CMakeLists.txt index 2412e825d6c98d..316ded04afe373 100644 --- a/config/esp32/components/chip/CMakeLists.txt +++ b/config/esp32/components/chip/CMakeLists.txt @@ -392,7 +392,7 @@ idf_component_get_property(lwip_lib lwip COMPONENT_LIB) list(APPEND chip_libraries $) -if (CONFIG_ESP_WIFI_ENABLED) +if (CONFIG_ESP32_WIFI_ENABLED) idf_component_get_property(esp_wifi_lib esp_wifi COMPONENT_LIB) idf_component_get_property(esp_wifi_dir esp_wifi COMPONENT_DIR) list(APPEND chip_libraries $)