[CMake] FindPythonLibs : Version selection on OS X
Andreas Pakulat
apaku at gmx.de
Fri Jan 13 01:29:25 EST 2012
On 13.01.12 15:33:23, Nicholas Yue wrote:
> Hi,
>
> Using the FindPythonLibs macros on OS X Lion always returns the
> standard Python 2.7 (shipped with Lion)
>
> There are other versions of Python which is also available in OS
> X Lion.
>
> Is it possible to inform FindPythonLibs to look for a different
> version of Python e.g. 2.6, if so, how does one go about doing that
> ?
In the same way as you influence any other Find-Module that uses
find_library/find_executable and find_file: Set CMAKE_PREFIX_PATH to a
prefix where the wanted software version is installed.
Andreas
More information about the CMake
mailing list