- Add support for python 2.7
Reported by: miwi, pav
This commit is contained in:
parent
8337218886
commit
b9b6a858f8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=270453
1 changed files with 11 additions and 0 deletions
11
math/vtk5/files/patch-CMake_FindPythonLibs.cmake
Normal file
11
math/vtk5/files/patch-CMake_FindPythonLibs.cmake
Normal file
|
@ -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
|
Loading…
Reference in a new issue