From 517e4b9e0a0b7ea31b93597832c75782f88cae73 Mon Sep 17 00:00:00 2001 From: gahr Date: Mon, 7 Mar 2011 17:00:58 +0000 Subject: - Add support for python 2.7 Reported by: miwi, pav --- math/vtk5/files/patch-CMake_FindPythonLibs.cmake | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 math/vtk5/files/patch-CMake_FindPythonLibs.cmake diff --git a/math/vtk5/files/patch-CMake_FindPythonLibs.cmake b/math/vtk5/files/patch-CMake_FindPythonLibs.cmake new file mode 100644 index 000000000000..3e906f3b00f8 --- /dev/null +++ b/math/vtk5/files/patch-CMake_FindPythonLibs.cmake @@ -0,0 +1,11 @@ +--- CMake/FindPythonLibs.cmake.orig 2011-03-07 15:38:25.000000000 +0100 ++++ CMake/FindPythonLibs.cmake 2011-03-07 15:38:38.000000000 +0100 +@@ -27,7 +27,7 @@ + # Search for the python framework on Apple. + CMAKE_FIND_FRAMEWORKS(Python) + +-FOREACH(_CURRENT_VERSION 2.6 2.5 2.4 2.3 2.2 2.1 2.0 1.6 1.5) ++FOREACH(_CURRENT_VERSION 2.7 2.6 2.5 2.4 2.3 2.2 2.1 2.0 1.6 1.5) + STRING(REPLACE "." "" _CURRENT_VERSION_NO_DOTS ${_CURRENT_VERSION}) + IF(WIN32) + FIND_LIBRARY(PYTHON_DEBUG_LIBRARY -- cgit