diff --git a/cmake/Doxygen.cmake b/cmake/Doxygen.cmake index 5a1e3b0e7..cd00d95f4 100644 --- a/cmake/Doxygen.cmake +++ b/cmake/Doxygen.cmake @@ -8,9 +8,9 @@ function(Doxygen outDir) endif() set(DOXYGEN_GENERATE_HTML YES) set(DOXYGEN_QUIET YES) - set(DOXYGEN_HTML_OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/${outDir}) + set(DOXYGEN_HTML_OUTPUT ${CMAKE_BINARY_DIR}/${outDir}) doxygen_add_docs(doxygen ${CMAKE_CURRENT_SOURCE_DIR}/docs - COMMENT "Generate Doxygen HTML documenation" - COMMENT "Doxygen HTML output: ${CMAKE_BINARY_DIR}/${outDir}") + COMMENT "Generate Doxygen HTML documenation\n" + "Doxygen HTML output: ${CMAKE_BINARY_DIR}/${outDir}") endfunction()