summaryrefslogtreecommitdiffstats
path: root/Modules/FeatureSummary.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-09-15 15:34:34 (GMT)
committerBrad King <brad.king@kitware.com>2016-09-15 15:34:34 (GMT)
commit7aa97b948f854cf4797db8707969173efb786249 (patch)
tree6ab33b6e85c55a71148506d558184ee1f9df0cb8 /Modules/FeatureSummary.cmake
parent46ded385c00c71a932c624efdecda7283492d41d (diff)
downloadCMake-7aa97b948f854cf4797db8707969173efb786249.zip
CMake-7aa97b948f854cf4797db8707969173efb786249.tar.gz
CMake-7aa97b948f854cf4797db8707969173efb786249.tar.bz2
FeatureSummary: Add include() to examples
Since this module's documentation already includes complete usage examples, make them more complete by showing the include() explicitly. Issue: #16309
Diffstat (limited to 'Modules/FeatureSummary.cmake')
-rw-r--r--Modules/FeatureSummary.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/FeatureSummary.cmake b/Modules/FeatureSummary.cmake
index 9a60587..548d12a 100644
--- a/Modules/FeatureSummary.cmake
+++ b/Modules/FeatureSummary.cmake
@@ -196,6 +196,7 @@ endfunction()
.. code-block:: cmake
+ include(FeatureSummary)
feature_summary(WHAT ALL
FILENAME ${CMAKE_BINARY_DIR}/all.log APPEND)
@@ -204,6 +205,7 @@ endfunction()
.. code-block:: cmake
+ include(FeatureSummary)
feature_summary(WHAT ENABLED_FEATURES
INCLUDE_QUIET_PACKAGES
DESCRIPTION "Enabled Features:"