Skip to content

Commit

Permalink
Fix: Properly create absolute paths for doxygen sources
Browse files Browse the repository at this point in the history
  • Loading branch information
spnda committed Jan 17, 2024
1 parent dee46c0 commit 73fa420
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ endif()
get_target_property(FASTGLTF_SOURCES fastgltf SOURCES)
set(FASTGLTF_ABS_SOURCES "")
foreach (SOURCE_FILE ${FASTGLTF_SOURCES})
list(APPEND FASTGLTF_ABS_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/../${SOURCE_FILE}")
cmake_path(ABSOLUTE_PATH SOURCE_FILE BASE_DIRECTORY "${CMAKE_CURRENT_LIST_DIR}/.." OUTPUT_VARIABLE ABSOLUTE_SOURCE_FILE)
list(APPEND FASTGLTF_ABS_SOURCES ${ABSOLUTE_SOURCE_FILE})
endforeach()

# For the Doxygen file we remove the semicolons for spaces
Expand Down

0 comments on commit 73fa420

Please sign in to comment.