Merge topic 'FeatureSummary-no-duplicates'

38ef2b73 FeatureSummary: Print each feature info only once
This commit is contained in:
Brad King
2015-02-24 09:12:43 -05:00
committed by CMake Topic Stage
4 changed files with 16 additions and 0 deletions
+3
View File
@@ -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})