From: Kornel Benko Date: Fri, 29 Nov 2019 13:47:27 +0000 (+0100) Subject: Cmake build: Copy & paste error X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=e857b0127cd1afe74cd60a870529d454c0ebc5a8;p=features.git Cmake build: Copy & paste error --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 12b81a6d63..ca9895dadd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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")