diff options
author | Brad King <brad.king@kitware.com> | 2017-02-01 14:16:20 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2017-02-01 14:16:20 (GMT) |
commit | d88ab13750860e0f7f71e10fe21a15194214d07e (patch) | |
tree | 98b9e4a981451236535b49ff113150dd3e076b97 /Help/manual | |
parent | 048ecde45332995198770157c4e0a34684be03d0 (diff) | |
parent | f3619bbcd648dc35ffca11b154e01eae0106d2ff (diff) | |
download | CMake-d88ab13750860e0f7f71e10fe21a15194214d07e.zip CMake-d88ab13750860e0f7f71e10fe21a15194214d07e.tar.gz CMake-d88ab13750860e0f7f71e10fe21a15194214d07e.tar.bz2 |
Merge topic 'doc-cmake-packages-typo'
f3619bbc Help: Fix typo in <pkg>_NOT_FOUND_MESSAGE example in cmake-packages(7)
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 c27c612..c9442bc 100644 --- a/Help/manual/cmake-packages.7.rst +++ b/Help/manual/cmake-packages.7.rst @@ -449,12 +449,12 @@ be true. This can be tested with logic in the package configuration file: foreach(_comp ${ClimbingStats_FIND_COMPONENTS}) if (NOT ";${_supported_components};" MATCHES _comp) set(ClimbingStats_FOUND False) - set(ClimbingStats_NOTFOUND_MESSAGE "Unsupported component: ${_comp}") + set(ClimbingStats_NOT_FOUND_MESSAGE "Unsupported component: ${_comp}") endif() include("${CMAKE_CURRENT_LIST_DIR}/ClimbingStats${_comp}Targets.cmake") endforeach() -Here, the ``ClimbingStats_NOTFOUND_MESSAGE`` is set to a diagnosis that the package +Here, the ``ClimbingStats_NOT_FOUND_MESSAGE`` is set to a diagnosis that the package could not be found because an invalid component was specified. This message variable can be set for any case where the ``_FOUND`` variable is set to ``False``, and will be displayed to the user. |