CMake: fix some issues for CMake

This commit is contained in:
xutao
2021-01-06 21:43:40 +08:00
parent 86e451fac0
commit 3dc41ff14c
3 changed files with 6 additions and 13 deletions

View File

@@ -1,13 +1,6 @@
idf_build_get_property(target IDF_TARGET)
set(COMPONENT_SRCS "src/esp_debug.c")
set(COMPONENT_ADD_INCLUDEDIRS "include")
set(srcs "src/esp_debug.c")
set(COMPONENT_PRIV_REQUIRES "lwip" "app_update" "esp32")
set(include_dirs
lwip/port/esp32/include
)
idf_component_register(SRCS "${srcs}"
INCLUDE_DIRS include
PRIV_INCLUDE_DIRS
REQUIRES esp_event lwip
PRIV_REQUIRES "${target}")
register_component()