Skip to content

Commit

Permalink
Use current directory instead of project directory when constructing …
Browse files Browse the repository at this point in the history
…paths.
  • Loading branch information
gsrohde committed Apr 9, 2024
1 parent 8ed4125 commit 5c8377d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/Doxygen.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ endif()
# called.
function(Doxygen target)
set(input ${ARGN})
list(TRANSFORM input PREPEND "${PROJECT_SOURCE_DIR}/")
list(TRANSFORM input PREPEND "${CMAKE_CURRENT_SOURCE_DIR}/")

set(NAME "${target}")
set(DOXYGEN_HTML_OUTPUT ${PROJECT_BINARY_DIR}/${NAME})
set(DOXYGEN_HTML_OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${NAME})
set(DOXYGEN_GENERATE_HTML YES)
if(ADD_TREEVIEW OR NOT DEFINED ADD_TREEVIEW)
set(DOXYGEN_GENERATE_TREEVIEW YES)
Expand Down

0 comments on commit 5c8377d

Please sign in to comment.