Review Request: Fix CMake Python macros.

Luca Beltrame einar at heavensinferno.net
Sun Oct 28 08:40:16 UTC 2012


In data domenica 28 ottobre 2012 08:36:07, Alexander Neundorf ha scritto:

> What do you think requires cmake > 2.8.0 ?

Python_ADDITIONAL_VERSIONS in FindPythonInterp.cmake and FindPythonLibs.cmake, 
which I use to work around an issue where FindPythonLibs.cmake from upstream 
cmake would not pick up the right Python library in case of co-installed 
Python versions.

SET(Python_ADDITIONAL_VERSIONS "${PYTHON_VERSION_MAJOR}.
${PYTHON_VERSION_MINOR}")

According to the compatibility matrix, this is only available from cmake > 
2.8.0. 

BTW, what constitutes source compatibility for cmake macros? I plan on fixing 
PythonMacros in kdelibs once this is settled, but I need to know before 
breaking anything.

-- 
Luca Beltrame - KDE Forums team
KDE Science supporter
GPG key ID: 6E1A4E79
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-buildsystem/attachments/20121028/2f03a1d6/attachment.sig>


More information about the Kde-buildsystem mailing list