mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Cmake build: Copy & paste error
This commit is contained in:
parent
350a9daf56
commit
8181c88c28
@ -806,7 +806,7 @@ else()
|
||||
if(NOT Python3_Interpreter_FOUND)
|
||||
unset(PYTHON_EXECUTABLE CACHE)
|
||||
find_package(Python2 2.0 REQUIRED)
|
||||
if(NOT PYTHON_VERSION_STRING VERSION_LESS 2.8)
|
||||
if(NOT Python2_VERSION VERSION_LESS 2.8)
|
||||
message(FATAL_ERROR "Python interpreter found, but is not suitable")
|
||||
endif()
|
||||
set(LYX_PYTHON_EXECUTABLE ${Python2_EXECUTABLE} CACHE FILEPATH "Python to be used by LyX")
|
||||
|
Loading…
Reference in New Issue
Block a user