Merge pull request #487 from seatedscribe/feature/cmake-deprecated

Substitute deprecated commands with feature_summary
This commit is contained in:
Janek Bevendorff 2017-04-11 16:27:58 +02:00 committed by GitHub
commit 82b3013b0f

View File

@ -268,6 +268,6 @@ if(PRINT_SUMMARY)
feature_summary(WHAT ALL)
else()
# This will only print ENABLED and DISABLED feature
print_enabled_features()
print_disabled_features()
feature_summary(WHAT ENABLED_FEATURES DESCRIPTION "Enabled features:")
feature_summary(WHAT DISABLED_FEATURES DESCRIPTION "Disabled features:")
endif()