From 78be0a1ad0a7915c0c79c806e8390f0ac7c78b06 Mon Sep 17 00:00:00 2001 From: Jeongseok Lee Date: Wed, 26 Jun 2024 10:45:34 -0700 Subject: [PATCH] Fix doxygen folder path (cherry picked from commit 15c5150ddb24c31a00183e2bac835600c113ef80) --- CMakeLists.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0b57e6c501612..c743989eb2b7a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -660,10 +660,9 @@ if(DOXYGEN_FOUND) COMMAND find "${DOXYGEN_OUTPUT_ROOT}" -type f -name "*.html" -exec sed -i 's: doxygen=\"[^\"]*\"::g' {} \\$ COMMAND ${CMAKE_COMMAND} -E echo "Done." - WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/doxygen + WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/docs/doxygen DEPENDS ${DOXYGEN_DOXYFILE} ) - # add_custom_target(docs ALL DEPENDS ${DOXYGEN_HTML_INDEX}) add_custom_target(docs DEPENDS ${DOXYGEN_HTML_INDEX}) add_custom_target( docs_forced @@ -671,7 +670,7 @@ if(DOXYGEN_FOUND) COMMAND ${DOXYGEN_EXECUTABLE} -u ${DOXYGEN_DOXYFILE} COMMAND ${DOXYGEN_EXECUTABLE} ${DOXYGEN_DOXYFILE} COMMAND ${CMAKE_COMMAND} -E echo "Done." - WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/doxygen + WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/docs/doxygen ) # Add the "view_docs" target that opens the generated API documentation.