Files
esp-idf/components/esp_hal_clock/CMakeLists.txt
T
2026-01-13 15:50:20 +08:00

16 lines
408 B
CMake

idf_build_get_property(target IDF_TARGET)
set(srcs)
set(includes "include")
# Target-specific include directory if present
if(EXISTS "${CMAKE_CURRENT_LIST_DIR}/${target}/include")
list(APPEND includes "${target}/include")
endif()
list(APPEND srcs "${target}/clk_tree_hal.c")
idf_component_register(SRCS ${srcs}
INCLUDE_DIRS ${includes}
REQUIRES soc hal)