Skip to content

Commit bc01141

Browse files
committed
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.
1 parent f1e6e66 commit bc01141

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/cmake/component_validation.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ endfunction()
122122
#
123123
function(__component_validation_run_checks)
124124
# Get all component targets
125-
idf_build_get_property(component_targets __COMPONENT_TARGETS)
125+
idf_build_get_property(component_targets __BUILD_COMPONENT_TARGETS)
126126

127127
# Run validation checks for each component
128128
foreach(component_target ${component_targets})

0 commit comments

Comments
 (0)