diff --git a/cmake/Doxygen.cmake b/cmake/Doxygen.cmake index cd00d95f4..78fee7a6c 100644 --- a/cmake/Doxygen.cmake +++ b/cmake/Doxygen.cmake @@ -6,6 +6,10 @@ function(Doxygen outDir) COMMENT "Doxygen not found") return() endif() + add_custom_target(build-time-dir + ALL + COMMAND ${CMAKE_COMMAND} -E + make_directory ${CMAKE_BINARY_DIR}/${outDir}) set(DOXYGEN_GENERATE_HTML YES) set(DOXYGEN_QUIET YES) set(DOXYGEN_HTML_OUTPUT ${CMAKE_BINARY_DIR}/${outDir})