diff options
author | Brad King <brad.king@kitware.com> | 2017-06-27 14:54:16 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2017-06-27 14:54:25 (GMT) |
commit | f7cc2cc2b693061c39ea6452935c67396da4b9e4 (patch) | |
tree | 30244c7b3dc8045ce6207939311cf1d15bd32115 /Modules | |
parent | b43d0fd04b635a5de56d104d7dc1ab908b739c00 (diff) | |
parent | d194bd915be3d99fda2d9e504655a78ee983f984 (diff) | |
download | CMake-f7cc2cc2b693061c39ea6452935c67396da4b9e4.zip CMake-f7cc2cc2b693061c39ea6452935c67396da4b9e4.tar.gz CMake-f7cc2cc2b693061c39ea6452935c67396da4b9e4.tar.bz2 |
Merge topic 'FindDoxygen-internal-var'
d194bd91 FindDoxygen: Add private prefix to internal variables
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1012
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindDoxygen.cmake | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Modules/FindDoxygen.cmake b/Modules/FindDoxygen.cmake index 0d9e161..26d44b9 100644 --- a/Modules/FindDoxygen.cmake +++ b/Modules/FindDoxygen.cmake @@ -389,10 +389,10 @@ macro(_Doxygen_find_doxygen) COMMAND "${DOXYGEN_EXECUTABLE}" --version OUTPUT_VARIABLE DOXYGEN_VERSION OUTPUT_STRIP_TRAILING_WHITESPACE - RESULT_VARIABLE result + RESULT_VARIABLE _Doxygen_version_result ) - if(result) - message(WARNING "Unable to determine doxygen version: ${result}") + if(_Doxygen_version_result) + message(WARNING "Unable to determine doxygen version: ${_Doxygen_version_result}") endif() # Create an imported target for Doxygen @@ -623,11 +623,11 @@ if(TARGET Doxygen::doxygen) execute_process( COMMAND "${DOXYGEN_EXECUTABLE}" -s -g "${_Doxygen_tpl}" OUTPUT_QUIET - RESULT_VARIABLE result + RESULT_VARIABLE _Doxygen_tpl_result ) - if(result) + if(_Doxygen_tpl_result) message(FATAL_ERROR - "Unable to generate Doxyfile template: ${result}") + "Unable to generate Doxyfile template: ${_Doxygen_tpl_result}") elseif(NOT EXISTS "${_Doxygen_tpl}") message(FATAL_ERROR "Doxygen has failed to generate a Doxyfile template") |