mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
cmake: fix getting component requirements
This commit is contained in:
parent
573d5f4eb0
commit
bd8f616f82
@ -87,7 +87,7 @@ foreach(__component_target ${__component_targets})
|
||||
list(REMOVE_ITEM __component_requires ${__component_alias} ${__component_name})
|
||||
endif()
|
||||
|
||||
if(__component_requires)
|
||||
if(__component_priv_requires)
|
||||
list(REMOVE_DUPLICATES __component_priv_requires)
|
||||
list(REMOVE_ITEM __component_priv_requires ${__component_alias} ${__component_name})
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user