Look for Python if trying to build the manual

- Needed for Pygments, which is used for syntax highlighting
This commit is contained in:
Jesse Talavera-Greenberg 2015-12-06 14:06:19 -05:00
parent 86752010e8
commit bef13d4cc2

View File

@ -16,6 +16,7 @@ option(GLM_BUILD_MANUAL_ENABLE "Build GLM manual" OFF)
if(GLM_BUILD_MANUAL_ENABLE) if(GLM_BUILD_MANUAL_ENABLE)
set(LATEX_OUTPUT_PATH "doc") set(LATEX_OUTPUT_PATH "doc")
include(UseLATEX) include(UseLATEX)
find_package(PythonInterp)
add_latex_document("doc/glm.tex" TARGET_NAME manual) add_latex_document("doc/glm.tex" TARGET_NAME manual)
endif() endif()