From bc011410981f2803d1d4045c0137d0657c623460 Mon Sep 17 00:00:00 2001 From: Roland Dobai Date: Thu, 25 Sep 2025 09:19:38 +0200 Subject: [PATCH] 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. --- tools/cmake/component_validation.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/cmake/component_validation.cmake b/tools/cmake/component_validation.cmake index f7d66103df..585198b45f 100644 --- a/tools/cmake/component_validation.cmake +++ b/tools/cmake/component_validation.cmake @@ -122,7 +122,7 @@ endfunction() # function(__component_validation_run_checks) # 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 foreach(component_target ${component_targets})