Re: [CMake] CMake finds the wrong Python interpreter on Windows

2010-02-25 Thread Noel O'Boyle
On 25 February 2010 18:41, David Cole wrote: > On Thu, Feb 25, 2010 at 1:29 PM, Bill Hoffman > wrote: >> >> Noel O'Boyle wrote: >> >>> >>> Done. I've attached the result (off list). In summary it seems to be >>> searching for python2

Re: [CMake] CMake finds the wrong Python interpreter on Windows

2010-02-25 Thread Noel O'Boyle
On 25 February 2010 16:18, Bill Hoffman wrote: > Noel O'Boyle wrote: > >> >> Good question. It works: >> -- Found PythonInterp: C:/Python26/python.exe >> -- Found PythonLibs: C:/Python26/libs/python26.lib >> >> However, if I set the PATH to C:\

Re: [CMake] CMake finds the wrong Python interpreter on Windows

2010-02-25 Thread Noel O'Boyle
On 25 February 2010 15:44, Bill Hoffman wrote: > Noel O'Boyle wrote: >> >> On 24 February 2010 22:20, Bill Hoffman wrote: >>> >>> Noel O'Boyle wrote: >>>> >>>> Hello all, >>>> >>>> With the following CMak

Re: [CMake] CMake finds the wrong Python interpreter on Windows

2010-02-25 Thread Noel O'Boyle
On 24 February 2010 22:20, Bill Hoffman wrote: > Noel O'Boyle wrote: >> >> Hello all, >> >> With the following CMakeLists.txt on Windows... >> >> project("MyProject" NONE) >> find_package(PythonInterp) >> find_package(Python

[CMake] CMake finds the wrong Python interpreter on Windows

2010-02-24 Thread Noel O'Boyle
Hello all, With the following CMakeLists.txt on Windows... project("MyProject" NONE) find_package(PythonInterp) find_package(PythonLibs) Using CMake 2.6.4 (or CMake 2.8), I get -- Found PythonInterp: C:/Cygwin/bin/python2.5.exe -- Found PythonLibs: C:/Python26/libs/python26.lib instead of --