summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-01-22 15:17:21 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-01-22 15:17:25 (GMT)
commit2a9614039ed7b9f9c5d28922131aef51c530d70a (patch)
treef811feb31da132d71da176f24cc38a82eb51050a /Modules
parenta629c338a1a7a09f827a185af4f8586fd8dd570d (diff)
parenta7d344be712cddd906f066809896c208ae99702c (diff)
downloadCMake-2a9614039ed7b9f9c5d28922131aef51c530d70a.zip
CMake-2a9614039ed7b9f9c5d28922131aef51c530d70a.tar.gz
CMake-2a9614039ed7b9f9c5d28922131aef51c530d70a.tar.bz2
Merge topic 'FindPythonInterp-windows-current-user'
a7d344be FindPythonInterp: support single-user installs on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1674
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindPythonInterp.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/FindPythonInterp.cmake b/Modules/FindPythonInterp.cmake
index 64b98a8..3ef8e9f 100644
--- a/Modules/FindPythonInterp.cmake
+++ b/Modules/FindPythonInterp.cmake
@@ -100,6 +100,9 @@ if(NOT PYTHON_EXECUTABLE)
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\${_CURRENT_VERSION}\\InstallPath]
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\${_CURRENT_VERSION}-32\\InstallPath]
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\${_CURRENT_VERSION}-64\\InstallPath]
+ [HKEY_CURRENT_USER\\SOFTWARE\\Python\\PythonCore\\${_CURRENT_VERSION}\\InstallPath]
+ [HKEY_CURRENT_USER\\SOFTWARE\\Python\\PythonCore\\${_CURRENT_VERSION}-32\\InstallPath]
+ [HKEY_CURRENT_USER\\SOFTWARE\\Python\\PythonCore\\${_CURRENT_VERSION}-64\\InstallPath]
)
endforeach()
endif()