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:
Brad King
2021-09-02 14:26:11 +00:00
committed by Kitware Robot
+1 -1
View File
@@ -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()