mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-29 05:01:49 +00:00
Cmake build: Amend e485102e
, For python 3 require at least 3.5
This commit is contained in:
parent
e485102ef2
commit
2a37ad9cce
@ -793,7 +793,7 @@ unset(LYX_PYTHON_EXECUTABLE CACHE)
|
|||||||
unset(PYTHON_VERSION_MAJOR)
|
unset(PYTHON_VERSION_MAJOR)
|
||||||
unset(PYTHON_VERSION_MINOR)
|
unset(PYTHON_VERSION_MINOR)
|
||||||
unset(PYTHON_VERSION_STRING)
|
unset(PYTHON_VERSION_STRING)
|
||||||
find_package(PythonInterp 3.3 QUIET)
|
find_package(PythonInterp 3.5 QUIET)
|
||||||
if(NOT PYTHONINTERP_FOUND)
|
if(NOT PYTHONINTERP_FOUND)
|
||||||
unset(PYTHON_EXECUTABLE CACHE)
|
unset(PYTHON_EXECUTABLE CACHE)
|
||||||
find_package(PythonInterp 2.0 REQUIRED)
|
find_package(PythonInterp 2.0 REQUIRED)
|
||||||
|
Loading…
Reference in New Issue
Block a user