summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorHermann von Kleist <hermann.von.kleist@ivi.fraunhofer.de>2024-01-17 15:19:22 (GMT)
committerHermann von Kleist <hermann.von.kleist@ivi.fraunhofer.de>2024-01-17 15:19:22 (GMT)
commit88a1392270e38ec6d47f33d8ab5345a16b1b0310 (patch)
tree5ac8bcad3ab266ccfd16bcb6bbb95289975675fd /Modules
parent1e32d3118caba716040d827e8d1207388ba75b88 (diff)
downloadCMake-88a1392270e38ec6d47f33d8ab5345a16b1b0310.zip
CMake-88a1392270e38ec6d47f33d8ab5345a16b1b0310.tar.gz
CMake-88a1392270e38ec6d47f33d8ab5345a16b1b0310.tar.bz2
FindMatlab: use correct registry view when extracting versions
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindMatlab.cmake1
1 files changed, 1 insertions, 0 deletions
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)