diff options
Diffstat (limited to 'doc/api')
-rw-r--r-- | doc/api/cplusplus/CMakeLists.txt | 4 | ||||
-rw-r--r-- | doc/api/cplusplus/doxygen.conf.in | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/doc/api/cplusplus/CMakeLists.txt b/doc/api/cplusplus/CMakeLists.txt index c3df73e28..20281d2b4 100644 --- a/doc/api/cplusplus/CMakeLists.txt +++ b/doc/api/cplusplus/CMakeLists.txt @@ -24,7 +24,9 @@ if(ENABLE_DOXYGEN) "${CMAKE_CURRENT_SOURCE_DIR}/references.doxygen" "${DOXYGEN_TAG_FILE}" OUTPUT - "${CMAKE_CURRENT_BINARY_DIR}/cplusplus") + "${CMAKE_CURRENT_BINARY_DIR}/cplusplus" + WORKING_DIRECTORY + "${CMAKE_CURRENT_SOURCE_DIR}") add_custom_target(c++-api-docs ALL DEPENDS diff --git a/doc/api/cplusplus/doxygen.conf.in b/doc/api/cplusplus/doxygen.conf.in index ba2094106..d6d015f68 100644 --- a/doc/api/cplusplus/doxygen.conf.in +++ b/doc/api/cplusplus/doxygen.conf.in @@ -38,7 +38,7 @@ PROJECT_NUMBER = "Version @VERSION@" # If a relative path is entered, it will be relative to the location # where doxygen was started. If left blank the current directory will be used. -OUTPUT_DIRECTORY = +OUTPUT_DIRECTORY = @CMAKE_CURRENT_BINARY_DIR@ # If the CREATE_SUBDIRS tag is set to YES, then doxygen will create # 4096 sub-directories (in 2 levels) under the output directory of each output |