diff options
author | Brad King <brad.king@kitware.com> | 2022-02-15 14:48:15 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2022-02-15 14:48:28 (GMT) |
commit | c3c64086093984868c630703822ffca12f2a60ac (patch) | |
tree | bbc6c0634dace4e8aac596713cfac0976193a695 /Help/manual | |
parent | e01a983c980bedc20a1cc7a5be179d7e40cdc6df (diff) | |
parent | 5317015e683b4c94143d25c3316b28ba06215e67 (diff) | |
download | CMake-c3c64086093984868c630703822ffca12f2a60ac.zip CMake-c3c64086093984868c630703822ffca12f2a60ac.tar.gz CMake-c3c64086093984868c630703822ffca12f2a60ac.tar.bz2 |
Merge topic 'doc-example-package-components'
5317015e68 Help: use package-specific var for supported component list
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6975
Diffstat (limited to 'Help/manual')
-rw-r--r-- | Help/manual/cmake-packages.7.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Help/manual/cmake-packages.7.rst b/Help/manual/cmake-packages.7.rst index 5c109ff..ed85dc4 100644 --- a/Help/manual/cmake-packages.7.rst +++ b/Help/manual/cmake-packages.7.rst @@ -446,10 +446,10 @@ be true. This can be tested with logic in the package configuration file: include("${CMAKE_CURRENT_LIST_DIR}/ClimbingStatsTargets.cmake") include("${CMAKE_CURRENT_LIST_DIR}/ClimbingStatsMacros.cmake") - set(_supported_components Plot Table) + set(_ClimbingStats_supported_components Plot Table) foreach(_comp ${ClimbingStats_FIND_COMPONENTS}) - if (NOT ";${_supported_components};" MATCHES ";${_comp};") + if (NOT ";${_ClimbingStats_supported_components};" MATCHES ";${_comp};") set(ClimbingStats_FOUND False) set(ClimbingStats_NOT_FOUND_MESSAGE "Unsupported component: ${_comp}") endif() |