Stop using deprecated DOXYGEN_EXECUTABLE variable

This was deprecated in CMake 3.9.

See https://cmake.org/cmake/help/v3.22/module/FindDoxygen.html#variable:DOXYGEN_EXECUTABLE
This commit is contained in:
Chris Thrasher 2024-09-10 15:54:56 -06:00
parent 7fdce1235e
commit 157d4d9163

View File

@ -52,7 +52,7 @@ configure_file(${DOXYGEN_INPUT_DIR}/doc/searchOverrides.css ${DOXYGEN_OUTPUT_DIR
# target setup # target setup
add_custom_target(doc add_custom_target(doc
COMMAND ${CMAKE_COMMAND} -E echo_append "Building API Documentation..." COMMAND ${CMAKE_COMMAND} -E echo_append "Building API Documentation..."
COMMAND ${DOXYGEN_EXECUTABLE} ${DOXYGEN_CONFIGURED_INPUT} COMMAND Doxygen::doxygen ${DOXYGEN_CONFIGURED_INPUT}
COMMAND ${CMAKE_COMMAND} -E echo "Done." COMMAND ${CMAKE_COMMAND} -E echo "Done."
WORKING_DIRECTORY ${DOXYGEN_INPUT_DIR}) WORKING_DIRECTORY ${DOXYGEN_INPUT_DIR})