mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-03 18:40:59 +02:00
fix(cmake): correct component targets property name in validation
The component validation script was using an incorrect property name '__COMPONENT_TARGETS' when retrieving component targets. This should be '__BUILD_COMPONENT_TARGETS' to match the actual property name used throughout the build system. This fix ensures the component validation can properly access the list of component targets and perform validation checks correctly.
This commit is contained in:
@@ -122,7 +122,7 @@ endfunction()
|
|||||||
#
|
#
|
||||||
function(__component_validation_run_checks)
|
function(__component_validation_run_checks)
|
||||||
# Get all component targets
|
# Get all component targets
|
||||||
idf_build_get_property(component_targets __COMPONENT_TARGETS)
|
idf_build_get_property(component_targets __BUILD_COMPONENT_TARGETS)
|
||||||
|
|
||||||
# Run validation checks for each component
|
# Run validation checks for each component
|
||||||
foreach(component_target ${component_targets})
|
foreach(component_target ${component_targets})
|
||||||
|
Reference in New Issue
Block a user