From 88a1392270e38ec6d47f33d8ab5345a16b1b0310 Mon Sep 17 00:00:00 2001 From: Hermann von Kleist Date: Wed, 17 Jan 2024 16:19:22 +0100 Subject: FindMatlab: use correct registry view when extracting versions --- Modules/FindMatlab.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/Modules/FindMatlab.cmake b/Modules/FindMatlab.cmake index 24703a3..0e79f58 100644 --- a/Modules/FindMatlab.cmake +++ b/Modules/FindMatlab.cmake @@ -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) -- cgit v0.12