View Issue Details [ Jump to Notes ] | [ Print ] |
ID | Project | Category | View Status | Date Submitted | Last Update |
0007913 | CMake | Modules | public | 2008-11-01 06:40 | 2009-01-10 08:47 |
|
Reporter | Philip Belemezov | |
Assigned To | Alex Neundorf | |
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | | OS Version | |
Product Version | CMake-2-6 | |
Target Version | | Fixed in Version | | |
|
Summary | 0007913: CMake can't find Python 2.6 on Windows |
Description | CMake can't find the Python 2.6 interpreter on Windows. The problem is in the missing registry path for 2.6 in share\cmake-2.6\Modules\FindPythonInterp.cmake.
This is with CMake 2.6.2. |
Additional Information | Attached is a patch fixing the problem. |
Tags | No tags attached. |
|
Attached Files | FindPythonInterp-fix-for-2.6.patch [^] (566 bytes) 2008-11-01 06:40 [Show Content] [Hide Content]--- FindPythonInterp.cmake Thu Aug 30 20:35:54 2007
+++ FindPythonInterp.cmake-new Sat Nov 1 12:33:13 2008
@@ -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]
|
|