aboutsummaryrefslogtreecommitdiff
path: root/doc/api/python
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api/python')
-rw-r--r--doc/api/python/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/python/CMakeLists.txt b/doc/api/python/CMakeLists.txt
index 55f40d738..7652c1c0c 100644
--- a/doc/api/python/CMakeLists.txt
+++ b/doc/api/python/CMakeLists.txt
@@ -18,7 +18,7 @@ if(ENABLE_PYTHON_DOCS)
add_custom_command(COMMAND
env PYTHONPATH="${CMAKE_BINARY_DIR}/python"
- "${SPHINX_EXECUTABLE}"
+ "${PYTHON_EXECUTABLE}" "${SPHINX_EXECUTABLE}"
-c "${CMAKE_CURRENT_BINARY_DIR}"
-b html
-d "${CMAKE_CURRENT_BINARY_DIR}/doctrees"