esp-idf/components/esp_adc_cal/CMakeLists.txt

13 lines
379 B
CMake
Raw Normal View History

2019-12-26 02:25:24 -05:00
idf_build_get_property(target IDF_TARGET)
set(srcs "esp_adc_cal_common.c")
set(src_target "${target}/esp_adc_cal.c")
if(EXISTS "${CMAKE_CURRENT_LIST_DIR}/${src_target}")
list(APPEND srcs ${src_target})
endif()
2021-11-04 07:59:19 -04:00
idf_component_register(SRCS ${srcs}
INCLUDE_DIRS include
REQUIRES driver
PRIV_REQUIRES efuse)