From 4a6ea82257cecd74edabc2f61a1d87a4aad0130d Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Sat, 10 Jan 2009 08:46:37 -0500 Subject: [PATCH] ENH: fix #7913: find also python 2.6 on windows Alex --- Modules/FindPythonInterp.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/Modules/FindPythonInterp.cmake b/Modules/FindPythonInterp.cmake index 5074c6928..82ebd98c2 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]