From 8cf074444f5698259d198c5dd6aeca5af8565b65 Mon Sep 17 00:00:00 2001 From: Chris Thrasher Date: Wed, 11 Sep 2024 09:44:49 -0600 Subject: [PATCH] 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 --- doc/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index 325b7053..6118c81f 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -39,7 +39,7 @@ configure_file(${DOXYGEN_INPUT_DIR}/doc/searchOverrides.css ${DOXYGEN_OUTPUT_DIR # target setup add_custom_target(doc ALL 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." WORKING_DIRECTORY ${DOXYGEN_INPUT_DIR})