[CMake] patch proposal for PythonInterp

Rolf Eike Beer eike at sf-mail.de
Thu Mar 21 07:00:04 EDT 2013


Am 21.03.2013 11:03, schrieb Yngve Inntjore Levinsen:
> Hi,
> 
> I have a suggestion for the PythonInterp. On a system I am compiling 
> my
> code on, I need to find the python binary which is newer than 2.5.
> However, the default /usr/bin/python is 2.4.
> 
> If I then set the variable (which is not documented in the header by 
> the
> way) PythonInterp_FIND_VERSION to 2.5, it will first search for the
> following list of binary names:
>     python2.5 python2 python.

This looks like you are using CMake 2.8.7 or before. Upgrade.

Eike


More information about the CMake mailing list