[vtk-developers] FindPythonLibs.cmake removal and OS X woes

David Gobbi david.gobbi at gmail.com
Fri Dec 18 07:58:51 EST 2009


The FindPythonLibs.cmake that comes with cmake has some obnoxious code
that is breaking my build.

To build against a particular version of the python framework, I use
the following:
PYTHON_LIBRARY:FILEPATH=/System/Library/Frameworks/Python.framework/Versions/2.5/Python

The FindPython module sees this, says "aha! you are using a
framework!" and it resets the variable to this:
PYTHON_LIBRARY:FILEPATH=-framework Python

This is a problem that was fixed in VTK/CMake/FindPythonLibs.cmake a
long time ago, but it seems that the fix was never propagated back to
CMake.  Until it is, can VTK go back to its old FindPythonLibs?

   David



More information about the vtk-developers mailing list