mirror of
https://github.com/g-truc/glm.git
synced 2024-11-16 23:04:35 +00:00
Look for Python if trying to build the manual
- Needed for Pygments, which is used for syntax highlighting
This commit is contained in:
parent
86752010e8
commit
bef13d4cc2
@ -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()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user