mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-03 12:49:50 -05:00
Merge topic 'FeatureSummary-no-duplicates'
38ef2b73 FeatureSummary: Print each feature info only once
This commit is contained in:
@@ -379,6 +379,9 @@ function(_FS_GET_FEATURE_SUMMARY _property _var _includeQuiet)
|
||||
|
||||
set(_currentFeatureText "")
|
||||
get_property(_EnabledFeatures GLOBAL PROPERTY ${_property})
|
||||
if(_EnabledFeatures)
|
||||
list(REMOVE_DUPLICATES _EnabledFeatures)
|
||||
endif(_EnabledFeatures)
|
||||
|
||||
foreach(_currentFeature ${_EnabledFeatures})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user