diff options
author | Brad King <brad.king@kitware.com> | 2021-09-02 14:26:11 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2021-09-02 14:26:21 (GMT) |
commit | c8991f17cf5bb07fc1b0d7fa68e9613fa8617900 (patch) | |
tree | dceeef250b3a8faa49e75fc3caa503bb4d4f4aae | |
parent | bd7003b858f641117be0ef21334e2294aa00dc64 (diff) | |
parent | d186797cf6d084ad8c198475757aaa6a33ddbcc7 (diff) | |
download | CMake-c8991f17cf5bb07fc1b0d7fa68e9613fa8617900.zip CMake-c8991f17cf5bb07fc1b0d7fa68e9613fa8617900.tar.gz CMake-c8991f17cf5bb07fc1b0d7fa68e9613fa8617900.tar.bz2 |
Merge topic 'cmake-packages-pkg-cfg-file-example'
d186797cf6 Help: Fix regex in example of cmake-packages(7)
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Ben Boeckel <ben.boeckel@kitware.com>
Merge-request: !6489
-rw-r--r-- | Help/manual/cmake-packages.7.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Help/manual/cmake-packages.7.rst b/Help/manual/cmake-packages.7.rst index 5262105..5c109ff 100644 --- a/Help/manual/cmake-packages.7.rst +++ b/Help/manual/cmake-packages.7.rst @@ -449,7 +449,7 @@ be true. This can be tested with logic in the package configuration file: set(_supported_components Plot Table) foreach(_comp ${ClimbingStats_FIND_COMPONENTS}) - if (NOT ";${_supported_components};" MATCHES _comp) + if (NOT ";${_supported_components};" MATCHES ";${_comp};") set(ClimbingStats_FOUND False) set(ClimbingStats_NOT_FOUND_MESSAGE "Unsupported component: ${_comp}") endif() |