From 3245383a85f68894a5825e44fc86887023e15823 Mon Sep 17 00:00:00 2001 From: Henry Fredrick Schreiner Date: Thu, 12 Apr 2018 10:28:14 +0200 Subject: [PATCH] Minor fix for FeatureSummary --- chapters/features/modules.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/chapters/features/modules.md b/chapters/features/modules.md index 74b3fde..709b2a8 100644 --- a/chapters/features/modules.md +++ b/chapters/features/modules.md @@ -105,9 +105,10 @@ set_package_properties(OpenMP PROPERTIES You can also set the `TYPE` of a package to `RUNTIME`, `OPTIONAL`, `RECOMMENDED`, or `REQUIRED`; you can't, however, lower the type of a package; if you have already added a `REQUIRED` package through «command:`find_package`» based on an option, you'll see it listed as `REQUIRED`. -And, you can mark any options as part of the feature summary: +And, you can mark any options as part of the feature summary. If you choose the same name as a package, the two interact with each other. ```cmake +add_feature_info(WITH_OPENMP OpenMP_CXX_FOUND "OpenMP (Thread safe FCNs only)") ``` Then, you can print out the summary of features, either to the screen or a log file: