From 73b018812683bcd6217537ca6dc204ee37438ed3 Mon Sep 17 00:00:00 2001 From: seatedscribe Date: Mon, 10 Apr 2017 22:05:53 +0200 Subject: [PATCH] Substitute deprecated commands with feature_summary --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 52e9884c9..2da138277 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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()