MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0012869 | CMake | Modules | public | 2012-01-10 05:20 | 2012-07-09 06:52 |
| Reporter | Christian Andersson | ||||
| Assigned To | Brad King | ||||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | Windows | OS | Windows | OS Version | 7 |
| Product Version | CMake 2.8.7 | ||||
| Target Version | Fixed in Version | CMake 2.8.8 | |||
| Summary | 0012869: FindPythonLibs.cmake fails as it searches in the wrong place | ||||
| Description | When cmake searches for Python libs in Windows it searches in (from FindPythonLibs.cmake): [HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\${_CURRENT_VERSION}\\InstallPath]/libs However, the information might not always reside there. The information could also reside in: [HKEY_CURRENT_USER\\SOFTWARE\\Python\\PythonCore\\${_CURRENT_VERSION}\\InstallPath]/libs As it is on my machine. The difference is I suspect is that it is dependent on if a user installs Python for just himself or if Python is installed for all users on the current machine. | ||||
| Steps To Reproduce | Install Python for a single user, not for all users. | ||||
| Additional Information | I uploaded a patch where one can see what is needed to be added in FindPythonLibs.cmake. Best Regards /Christian | ||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://public.kitware.com/Bug/file/4180/FindPythonLibs2.patch | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2012-01-10 05:20 | Christian Andersson | New Issue | |||
| 2012-01-10 05:20 | Christian Andersson | File Added: FindPythonLibs2.patch | |||
| 2012-01-10 10:00 | Brad King | Note Added: 0028233 | |||
| 2012-01-10 10:00 | Brad King | Status | new => resolved | ||
| 2012-01-10 10:00 | Brad King | Fixed in Version | => CMake 2.8.8 | ||
| 2012-01-10 10:00 | Brad King | Resolution | open => fixed | ||
| 2012-01-10 10:00 | Brad King | Assigned To | => Brad King | ||
| 2012-07-09 06:52 | David Cole | Note Added: 0029948 | |||
| 2012-07-09 06:52 | David Cole | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||