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

Brad King brad.king at kitware.com
Thu Jan 19 10:23:12 EST 2012


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.
>
> Ok, built it that way.
>
> It is. I've pushed an implementation to topic "python-version" on stage. If
> noone objects I'll merge it to next at the end of the week.

I just read through the implementation.  The approach looks
good to me.  I didn't test it in-depth though.

Thanks!
-Brad



More information about the cmake-developers mailing list