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
This commit is contained in:
Brad King 2016-09-15 11:34:34 -04:00
parent 46ded385c0
commit 7aa97b948f
1 changed files with 2 additions and 0 deletions

View File

@ -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:"