Browse Source

ENH: fix #7913: find also python 2.6 on windows

Alex
Alexander Neundorf 17 years ago
parent
commit
4a6ea82257
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Modules/FindPythonInterp.cmake

+ 1 - 0
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]