mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-30 02:59:22 -05:00
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
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user