Skip to content
  • Christian Andersson's avatar
    FindPythonLibs: Search for single-user installs on Windows · a04ced3b
    Christian Andersson authored and Brad King's avatar Brad King committed
    When cmake searches for Python libs in Windows it searches in:
    
      [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
    
    when one installs Python for a single user and not for all users.
    a04ced3b