Substitute deprecated commands with feature_summary

This commit is contained in:
seatedscribe 2017-04-10 22:05:53 +02:00
parent 82abdeb15f
commit 73b0188126
No known key found for this signature in database
GPG Key ID: 274436320C4CD03B

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()