diff --git a/components/lwip/CMakeLists.txt b/components/lwip/CMakeLists.txt index 22ceb1de84..671da81e20 100644 --- a/components/lwip/CMakeLists.txt +++ b/components/lwip/CMakeLists.txt @@ -156,7 +156,7 @@ if(CONFIG_LWIP_DHCPS) endif() if(CONFIG_LWIP_DHCP_RESTORE_LAST_IP) - list(APPEND srcs "port/esp32/netif/dhcp_state.c") + list(APPEND srcs "port/esp32xx/netif/dhcp_state.c") endif() idf_component_register(SRCS "${srcs}"