Invoke build.py with cmake-found python

In the Buildmaster GCC 4.8 image, `/usr/bin/env python3` appears to find the
system Python (3.4) as opposed to the newer Python (3.6) we install separately.
develop
lethosor 2022-08-15 17:49:44 -04:00
parent 488fd67742
commit 340b524348
No known key found for this signature in database
GPG Key ID: 76A269552F4F58C1
1 changed files with 1 additions and 1 deletions

@ -493,7 +493,7 @@ if(BUILD_DOCS)
"${CMAKE_BINARY_DIR}/docs/text"
)
add_custom_command(OUTPUT ${SPHINX_OUTPUT}
COMMAND "${CMAKE_CURRENT_SOURCE_DIR}/docs/build.py"
COMMAND "${Python3_EXECUTABLE}" "${CMAKE_CURRENT_SOURCE_DIR}/docs/build.py"
html text --sphinx="${SPHINX_EXECUTABLE}" -- -q
DEPENDS ${SPHINX_DEPS}
COMMENT "Building documentation with Sphinx"