[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kdev-python] /: Keep the PythonInterp Version in Sync with the PythonLibs Version
From:       David E. Narvaez <david.narvaez () computer ! org>
Date:       2015-05-31 15:55:37
Message-ID: E1Yz5aL-00071D-Tq () scm ! kde ! org
[Download RAW message or body]

Git commit 76d62ccb5033a0a5f82d6d7861fd2f91538c16f3 by David E. Narvaez.
Committed on 31/05/2015 at 15:47.
Pushed by narvaez into branch 'master'.

Keep the PythonInterp Version in Sync with the PythonLibs Version

Failing to match these versions causes the following problem when
multiple versions of Python 3 are installed: PythonInterp will find the
smalles possible version (e.g. 3.3) and PythonLibs will not try finding
a new one, but will complain instead that 3.4 was not found eve if it is
installed.

Reviewd By: scummos <mail@svenbrauch.de>

M  +1    -1    CMakeLists.txt

http://commits.kde.org/kdev-python/76d62ccb5033a0a5f82d6d7861fd2f91538c16f3

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1d49fe9..55185e5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -27,7 +27,7 @@ include(KDECompilerSettings)
 =

 # find the system python 3 interpreter, only used for determining search p=
aths.
 # must be called before find_package(KF5) because it searchs for python to=
o, but finds python2
-find_package(PythonInterp 3.0 REQUIRED)
+find_package(PythonInterp 3.4 REQUIRED)
 configure_file( "${kdevpython_SOURCE_DIR}/kdevpythonversion.h.cmake" "${kd=
evpython_BINARY_DIR}/kdevpythonversion.h" @ONLY )
 =

 find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED Widgets Test WebKitWidg=
ets)
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic