summaryrefslogtreecommitdiffstats
path: root/Modules/FindPythonInterp.cmake
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2009-01-10 13:46:37 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2009-01-10 13:46:37 (GMT)
commit4a6ea82257cecd74edabc2f61a1d87a4aad0130d (patch)
tree8497122e7370c5f79875114f74237785f2df198f /Modules/FindPythonInterp.cmake
parentb4956a574a85e5a335d1bbadbd4cee62774eb9e8 (diff)
downloadCMake-4a6ea82257cecd74edabc2f61a1d87a4aad0130d.zip
CMake-4a6ea82257cecd74edabc2f61a1d87a4aad0130d.tar.gz
CMake-4a6ea82257cecd74edabc2f61a1d87a4aad0130d.tar.bz2
ENH: fix #7913: find also python 2.6 on windows
Alex
Diffstat (limited to 'Modules/FindPythonInterp.cmake')
-rw-r--r--Modules/FindPythonInterp.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/FindPythonInterp.cmake b/Modules/FindPythonInterp.cmake
index 5074c69..82ebd98 100644
--- a/Modules/FindPythonInterp.cmake
+++ b/Modules/FindPythonInterp.cmake
@@ -9,6 +9,7 @@
FIND_PROGRAM(PYTHON_EXECUTABLE
NAMES python2.6 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.6\\InstallPath]
[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]