fix(doc): use current source dir and not the root one.

Allow Paradiseo to be built as a Git submodule of another project.
This commit is contained in:
Johann Dreo 2024-09-04 08:55:48 +02:00
commit 732fe097cb

View file

@ -82,7 +82,7 @@ set(MPI "false" CACHE BOOL "Build the MPI module")
## EO Module
set(MODULE_NAME "Paradiseo")
set(DOXYGEN_CONFIG_DIR ${CMAKE_SOURCE_DIR}/doxygen)
set(DOXYGEN_CONFIG_DIR ${CMAKE_CURRENT_SOURCE_DIR}/doxygen)
# set(EO_MODULE_NAME "Evolving Objects")
set(CMAKE_SOURCE_DIR ${EO_SRC_DIR})
add_subdirectory(${EO_SRC_DIR})