diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index 52bd326db..700c59c2c 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -52,7 +52,7 @@ configure_file(${DOXYGEN_INPUT_DIR}/doc/searchOverrides.css ${DOXYGEN_OUTPUT_DIR # target setup add_custom_target(doc 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})