Browse Source

Merge topic 'PythonLibs-2.7'

1f369a7 ENH: Added case for Python 2.7.
David Cole 15 years ago
parent
commit
424ba550e5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Modules/FindPythonLibs.cmake

+ 1 - 1
Modules/FindPythonLibs.cmake

@@ -27,7 +27,7 @@ INCLUDE(CMakeFindFrameworks)
 # 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