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:
Roland Dobai
2025-09-25 09:19:38 +02:00
parent f1e6e66fb5
commit bc01141098

View File

@@ -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})