From bef13d4cc286313f7dfbae40e2d54a4b04c00606 Mon Sep 17 00:00:00 2001 From: Jesse Talavera-Greenberg Date: Sun, 6 Dec 2015 14:06:19 -0500 Subject: [PATCH] Look for Python if trying to build the manual - Needed for Pygments, which is used for syntax highlighting --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 72279cfa..e837fc3f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,6 +16,7 @@ option(GLM_BUILD_MANUAL_ENABLE "Build GLM manual" OFF) if(GLM_BUILD_MANUAL_ENABLE) set(LATEX_OUTPUT_PATH "doc") include(UseLATEX) + find_package(PythonInterp) add_latex_document("doc/glm.tex" TARGET_NAME manual) endif()