Blob Blame History Raw
From 034eb4004778e6be400269a2fa0651162496728b Mon Sep 17 00:00:00 2001
From: George Kiagiadakis <gkiagia@tolabaki.gr>
Date: Tue, 21 Jun 2016 15:50:35 +0300
Subject: [PATCH 3/4] CMakeLists.txt: require python 2.7

https://bugs.freedesktop.org/show_bug.cgi?id=36680

Reviewed-by: Alexandr Akulich <akulichalexander@gmail.com>
---
 CMakeLists.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 73f3a16..45601e1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -136,8 +136,8 @@ macro_log_feature(QT_GLIB_SUPPORT "Qt Glib Support"
 # reset flags
 set(CMAKE_REQUIRED_FLAGS "")
 
-# Find python version >= 2.5
-set(REQUIRED_PY 2.5)
+# Find python version >= 2.7
+set(REQUIRED_PY 2.7)
 find_package(PythonLibrary ${REQUIRED_PY} REQUIRED)
 if(${PYTHON_SHORT_VERSION} VERSION_GREATER ${REQUIRED_PY} OR ${PYTHON_SHORT_VERSION} VERSION_EQUAL ${REQUIRED_PY})
     message(STATUS "Python ${PYTHON_SHORT_VERSION} found")
-- 
1.9.3