Skip to content
Snippets Groups Projects
Commit c3a9ae72 authored by Bas van der Tol's avatar Bas van der Tol Committed by Bas van der Tol
Browse files

Set PYTHONPATH when running sphinx

parent 85d9bb8b
Branches
Tags
1 merge request!138Fix python path in sphinx doc
......@@ -50,6 +50,8 @@ else()
add_custom_target(
doc
COMMAND
${CMAKE_COMMAND} -E env
PYTHONPATH="${CMAKE_INSTALL_PREFIX}/lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages:${CMAKE_SOURCE_DIR}/idg-bin/tests/python:$ENV{PYTHONPATH}"
${SPHINX_EXECUTABLE} -b html ${SPHINX_SOURCE} ${SPHINX_BUILD}
# Tell Breathe where to find the Doxygen output
-Dbreathe_projects.IDG=${DOXYGEN_OUTPUT_DIR}/xml
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment