Updates will be applied April 15th at 12pm EDT (UTC-0400). GitLab could be a little slow between 12 - 12:45pm EDT.

Commit 7f1fd07b authored by Brad King's avatar Brad King

Merge branch 'FindDoxygen-internal-var' into release-3.9

parents fd771df7 d194bd91
......@@ -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")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment