summaryrefslogtreecommitdiffstats
path: root/Modules/FindPythonLibs.cmake
diff options
context:
space:
mode:
authorMarcus D. Hanwell <marcus.hanwell@kitware.com>2010-10-19 18:53:33 (GMT)
committerMarcus D. Hanwell <marcus.hanwell@kitware.com>2010-10-19 18:53:33 (GMT)
commit1f369a71c80d606c8610b7e79c8aeaecba81a87f (patch)
tree76dbee264f9802a918a9b8aa7e22d650779e4841 /Modules/FindPythonLibs.cmake
parentd36c16a7609d3329dc32ae800570a0a06dea628e (diff)
downloadCMake-1f369a71c80d606c8610b7e79c8aeaecba81a87f.zip
CMake-1f369a71c80d606c8610b7e79c8aeaecba81a87f.tar.gz
CMake-1f369a71c80d606c8610b7e79c8aeaecba81a87f.tar.bz2
ENH: Added case for Python 2.7.
Diffstat (limited to 'Modules/FindPythonLibs.cmake')
-rw-r--r--Modules/FindPythonLibs.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindPythonLibs.cmake b/Modules/FindPythonLibs.cmake
index 283c914..2b9341c 100644
--- a/Modules/FindPythonLibs.cmake
+++ b/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