The following issue has been SUBMITTED.
======================================================================
http://www.cmake.org/Bug/view.php?id=12869
======================================================================
Reported By: Christian Andersson
Assigned To:
======================================================================
Project: CMake
Issue ID: 12869
Category: Modules
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2012-01-10 05:20 EST
Last Modified: 2012-01-10 05:20 EST
======================================================================
Summary: 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
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2012-01-10 05:20 Christian AnderssonNew Issue
2012-01-10 05:20 Christian AnderssonFile Added: FindPythonLibs2.patch
======================================================================
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers