[CMake] CMake finds the wrong Python interpreter on Windows

James Amundson amundson at fnal.gov
Thu Feb 25 16:39:30 EST 2010


On 02/25/2010 12:29 PM, Bill Hoffman wrote:
> OK, so that is the problem....
>
> It looks for names in this order:
>
> NAMES python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 
> python2.0 python1.6 python1.5 python
>
Coincidently, I had a bug report that arose from the above ordering just 
this afternoon. It makes no sense to me. I think "python" should be the 
first choice, not the last choice. What's the logic there?

--Jim Amundson



More information about the CMake mailing list