summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/cmake/files/cmake-2.8.3-FindPythonInterp.patch')
-rw-r--r--dev-util/cmake/files/cmake-2.8.3-FindPythonInterp.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-util/cmake/files/cmake-2.8.3-FindPythonInterp.patch b/dev-util/cmake/files/cmake-2.8.3-FindPythonInterp.patch
new file mode 100644
index 000000000000..386457b91427
--- /dev/null
+++ b/dev-util/cmake/files/cmake-2.8.3-FindPythonInterp.patch
@@ -0,0 +1,11 @@
+--- Modules/FindPythonInterp.cmake
++++ Modules/FindPythonInterp.cmake
+@@ -20,7 +20,7 @@
+ # License text for the above reference.)
+
+ FIND_PROGRAM(PYTHON_EXECUTABLE
+- NAMES python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5 python
++ NAMES python python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5
+ PATHS
+ [HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\2.7\\InstallPath]
+ [HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\2.6\\InstallPath]