mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-21 21:58:50 -05:00
FindMatlab: use correct registry view when extracting versions
This commit is contained in:
@@ -481,6 +481,7 @@ function(matlab_extract_all_installed_versions_from_registry win64 matlab_versio
|
|||||||
cmake_host_system_information(RESULT _reg
|
cmake_host_system_information(RESULT _reg
|
||||||
QUERY WINDOWS_REGISTRY "HKLM/SOFTWARE/Mathworks/${_installation_type}/${CMAKE_MATCH_1}"
|
QUERY WINDOWS_REGISTRY "HKLM/SOFTWARE/Mathworks/${_installation_type}/${CMAKE_MATCH_1}"
|
||||||
VALUE "MATLABROOT"
|
VALUE "MATLABROOT"
|
||||||
|
VIEW ${_view}
|
||||||
)
|
)
|
||||||
|
|
||||||
_Matlab_VersionInfoXML("${_reg}" _matlab_version_tmp)
|
_Matlab_VersionInfoXML("${_reg}" _matlab_version_tmp)
|
||||||
|
|||||||
Reference in New Issue
Block a user