summaryrefslogtreecommitdiffstats
path: root/Modules/FindPythonInterp.cmake
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2006-09-27 17:30:18 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2006-09-27 17:30:18 (GMT)
commit5d22d36c5da1e0838d50c90250c06ba6852fb7b4 (patch)
treefbca3a02ba65f818d40332849d097d4af94dfc92 /Modules/FindPythonInterp.cmake
parent61d3b2f1fbc947bd81f4e6552a5faf85fe576338 (diff)
downloadCMake-5d22d36c5da1e0838d50c90250c06ba6852fb7b4.zip
CMake-5d22d36c5da1e0838d50c90250c06ba6852fb7b4.tar.gz
CMake-5d22d36c5da1e0838d50c90250c06ba6852fb7b4.tar.bz2
ENH: apply patch from Dirk Mueller to support Python 2.5
Alex
Diffstat (limited to 'Modules/FindPythonInterp.cmake')
-rw-r--r--Modules/FindPythonInterp.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/FindPythonInterp.cmake b/Modules/FindPythonInterp.cmake
index c0c5805..44a932d 100644
--- a/Modules/FindPythonInterp.cmake
+++ b/Modules/FindPythonInterp.cmake
@@ -7,8 +7,9 @@
#
FIND_PROGRAM(PYTHON_EXECUTABLE
- NAMES python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5 python
+ NAMES python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5 python
PATHS
+ [HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\2.5\\InstallPath]
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\2.4\\InstallPath]
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\2.3\\InstallPath]
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\2.2\\InstallPath]