mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 08:34:37 +08:00
Fix detection of sphinx-rtd-theme
Upstreaming fix from Debian. https: //github.com/ceres-solver/ceres-solver/issues/809 Change-Id: I0e2f90a405a56ceffdda37f70d6e1ac853e176f1
This commit is contained in:
@@ -50,7 +50,7 @@ if (SPHINX_EXECUTABLE)
|
||||
if(PYTHONINTERP_FOUND)
|
||||
# Check for sphinx theme dependency for documentation
|
||||
execute_process(
|
||||
COMMAND ${PYTHON_EXECUTABLE} -m pip show sphinx-rtd-theme
|
||||
COMMAND ${PYTHON_EXECUTABLE} -c "import sphinx_rtd_theme"
|
||||
RESULT_VARIABLE SPHINX_RTD_THEME
|
||||
OUTPUT_QUIET
|
||||
ERROR_QUIET
|
||||
|
||||
Reference in New Issue
Block a user