diff options
author | Alexander Neundorf <neundorf@kde.org> | 2006-09-27 17:30:18 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2006-09-27 17:30:18 (GMT) |
commit | 5d22d36c5da1e0838d50c90250c06ba6852fb7b4 (patch) | |
tree | fbca3a02ba65f818d40332849d097d4af94dfc92 /Modules/FindPythonInterp.cmake | |
parent | 61d3b2f1fbc947bd81f4e6552a5faf85fe576338 (diff) | |
download | CMake-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.cmake | 3 |
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] |