Cmake build: Amend e485102e, For python 3 require at least 3.5

This commit is contained in:
Kornel Benko 2019-06-28 09:54:38 +02:00
parent e485102ef2
commit 2a37ad9cce

View File

@ -793,7 +793,7 @@ unset(LYX_PYTHON_EXECUTABLE CACHE)
unset(PYTHON_VERSION_MAJOR)
unset(PYTHON_VERSION_MINOR)
unset(PYTHON_VERSION_STRING)
find_package(PythonInterp 3.3 QUIET)
find_package(PythonInterp 3.5 QUIET)
if(NOT PYTHONINTERP_FOUND)
unset(PYTHON_EXECUTABLE CACHE)
find_package(PythonInterp 2.0 REQUIRED)