Commit 1303eea5 authored by Thomas Braun's avatar Thomas Braun

Problem: Broken documentation build

Solution: The CMAKE module PythonInterp sets the variable
PYTHONINTERP_FOUND and not PYTHON_FOUND if it finds
a python interpreter.
parent 81fd4044
......@@ -329,7 +329,7 @@ find_package (PythonInterp)
find_package (AsciiDoc)
cmake_dependent_option (WITH_DOC "Build Reference Guide documentation (requires DocBook)" ON
"PYTHON_FOUND;ASCIIDOC_FOUND" OFF)
"PYTHONINTERP_FOUND;ASCIIDOC_FOUND" OFF)
if (MSVC)
if (WITH_OPENPGM)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment