mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-13 21:09:59 -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
|
||||
QUERY WINDOWS_REGISTRY "HKLM/SOFTWARE/Mathworks/${_installation_type}/${CMAKE_MATCH_1}"
|
||||
VALUE "MATLABROOT"
|
||||
VIEW ${_view}
|
||||
)
|
||||
|
||||
_Matlab_VersionInfoXML("${_reg}" _matlab_version_tmp)
|
||||
|
||||
Reference in New Issue
Block a user