Merge pull request #4471 from libgit2/cmn/cmake-feature-302 cmake: use a FEATURE_SUMMARY call compatible with 3.0.2
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d4b3136..4d5ad9d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -335,7 +335,8 @@ IF (BUILD_EXAMPLES)
ENDIF ()
IF(CMAKE_VERSION VERSION_GREATER 3)
- FEATURE_SUMMARY(WHAT ENABLED_FEATURES DISABLED_FEATURES)
+ FEATURE_SUMMARY(WHAT ENABLED_FEATURES DESCRIPTION "Enabled features:")
+ FEATURE_SUMMARY(WHAT DISABLED_FEATURES DESCRIPTION "Disabled features:")
ELSE()
PRINT_ENABLED_FEATURES()
PRINT_DISABLED_FEATURES()