Help: Fix example in cmake-packages to avoid long line
This commit is contained in:
parent
f84ddd4b56
commit
8dab50636d
|
@ -479,7 +479,7 @@ be true. This can be tested with logic in the package configuration file:
|
||||||
foreach(_comp ${ClimbingStats_FIND_COMPONENTS})
|
foreach(_comp ${ClimbingStats_FIND_COMPONENTS})
|
||||||
if (NOT ";${_supported_components};" MATCHES _comp)
|
if (NOT ";${_supported_components};" MATCHES _comp)
|
||||||
set(ClimbingStats_FOUND False)
|
set(ClimbingStats_FOUND False)
|
||||||
set(ClimbingStats_NOTFOUND_MESSAGE "Specified unsupported component: ${_comp}")
|
set(ClimbingStats_NOTFOUND_MESSAGE "Unsupported component: ${_comp}")
|
||||||
endif()
|
endif()
|
||||||
include("${CMAKE_CURRENT_LIST_DIR}/ClimbingStats${_comp}Targets.cmake")
|
include("${CMAKE_CURRENT_LIST_DIR}/ClimbingStats${_comp}Targets.cmake")
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
Loading…
Reference in New Issue