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:
parent
46ded385c0
commit
7aa97b948f
|
@ -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:"
|
||||
|
|
Loading…
Reference in New Issue