build & config: Add IDF_COMPONENT_MANAGER build property

This commit is contained in:
Sergei Silnov
2022-05-25 17:56:59 +02:00
parent 64b6733349
commit 487603b51f
4 changed files with 7 additions and 7 deletions

View File

@@ -224,9 +224,8 @@ function(__component_get_requirements)
message(FATAL_ERROR "${error}")
endif()
idf_build_get_property(enable_component_manager __ENABLE_COMPONENT_MANAGER)
if(enable_component_manager)
# Call for component manager once again to inject dependencies
idf_build_get_property(idf_component_manager IDF_COMPONENT_MANAGER)
if(idf_component_manager EQUAL 1)
idf_build_get_property(python PYTHON)
execute_process(COMMAND ${python}
"-m"