aboutsummaryrefslogtreecommitdiff
path: root/doc/api/cplusplus/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api/cplusplus/CMakeLists.txt')
-rw-r--r--doc/api/cplusplus/CMakeLists.txt4
1 files changed, 3 insertions, 1 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