From e857b0127cd1afe74cd60a870529d454c0ebc5a8 Mon Sep 17 00:00:00 2001 From: Kornel Benko Date: Fri, 29 Nov 2019 14:47:27 +0100 Subject: [PATCH] Cmake build: Copy & paste error --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") -- 2.39.5