[cmake-developers] Find module for Python3

Rolf Eike Beer eike at sf-mail.de
Sat Apr 7 16:15:24 EDT 2012

Am Samstag, 7. April 2012, 22:23:47 schrieb Laszlo Papp:
> Hey,
> I am now really wondering why Python3 has never been supported so far.
> At least, I cannot make that version of python work at the moment. We
> have switched to Python3 in the KDE Windows project, and some projects
> are not building because of the FindPythonInterpreter.cmake file.

This is already fixed for the upcoming CMake 2.8.8. Please download the current 
rc and check if it works for you. If you explicitely need a 3.x version then

find_package(PythonInterp 3)

should enforce that a python >= 3.0 is found.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20120407/1a0c99fe/attachment.sig>

More information about the cmake-developers mailing list