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

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to