Re: [cmake-developers] FindPythonInterp.cmake an different major versions

2012-01-20 Thread Brad King
On 1/20/2012 2:51 AM, Rolf Eike Beer wrote: As Brad said it is ok I've merged it to next yesterday. This adds version selection: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=0fe4d69b6f5cfa4c2cd7afc6c0a42eb03638b712 And this is an add-on patch that fixes the parsing of the version

Re: [cmake-developers] FindPythonInterp.cmake an different major versions

2012-01-19 Thread Brad King
On 1/18/2012 12:31 PM, Rolf Eike Beer wrote: Brad King wrote: Therefore I would expect find_package(PythonInterp 2) to find a python interpreter compatible with version 2, which does not include version 3. You just can't use the normal version check from the standard find helper module.

Re: [cmake-developers] FindPythonInterp.cmake an different major versions

2012-01-17 Thread Brad King
On 1/17/2012 1:50 PM, Rolf Eike Beer wrote: Commit 20980ef56a847fec7922983257fd5be467b689bd changed the FindPythonInterp For reference: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=20980ef5 Today a user was in #cmake that had a system default python that was some 3.x version, and

Re: [cmake-developers] FindPythonInterp.cmake an different major versions

2012-01-17 Thread Rolf Eike Beer
Brad King wrote: On 1/17/2012 1:50 PM, Rolf Eike Beer wrote: Today a user was in #cmake that had a system default python that was some 3.x version, and therefore /usr/bin/python was a symlink to /usr/bin/python3. The current module has no possiblity for a developer to specify that