summaryrefslogtreecommitdiffstats
path: root/Modules/FindPythonLibs.cmake
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2010-10-28 18:09:17 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2010-10-28 18:09:17 (GMT)
commit424ba550e5b06c68df753ef7a190c0308b31b1b7 (patch)
treef45f116d04127f072d35456426edffa7402daa6d /Modules/FindPythonLibs.cmake
parent70101ee8e7da58e5729fdc0fbb6a48cb3740ba9e (diff)
parent1f369a71c80d606c8610b7e79c8aeaecba81a87f (diff)
downloadCMake-424ba550e5b06c68df753ef7a190c0308b31b1b7.zip
CMake-424ba550e5b06c68df753ef7a190c0308b31b1b7.tar.gz
CMake-424ba550e5b06c68df753ef7a190c0308b31b1b7.tar.bz2
Merge topic 'PythonLibs-2.7'
1f369a7 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 b849bc2..10e9241 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