mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-01 02:30:52 +03:00
fix(cmakev2/component): add component name to __DEPENDENCY_CHAIN
The __DEPENDENCY_CHAIN was not properly created because the component names were not added to it. Fix this by maintaining it correctly. Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
This commit is contained in:
@@ -549,6 +549,7 @@ function(idf_component_include name)
|
||||
return()
|
||||
endif()
|
||||
|
||||
list(APPEND __DEPENDENCY_CHAIN "${name}")
|
||||
# Evaluate the CMakeLists.txt file of the component.
|
||||
idf_build_get_property(build_dir BUILD_DIR build_dir)
|
||||
add_subdirectory("${component_directory}" "${build_dir}/esp-idf/${component_name}" EXCLUDE_FROM_ALL)
|
||||
|
||||
Reference in New Issue
Block a user