summaryrefslogtreecommitdiff
path: root/Modules/FindMatlab.cmake
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2021-10-08 09:13:27 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2021-10-08 09:13:27 +0900
commitd3ab5eb53d4ef4c187524c2804aa6e0a6406da89 (patch)
tree5b5254ed4ee1e313ccc439f056c1c05358386e98 /Modules/FindMatlab.cmake
parente7ff50712c4a21dd73051147cb71225f63e05bcf (diff)
downloadcmake-d3ab5eb53d4ef4c187524c2804aa6e0a6406da89.tar.gz
cmake-d3ab5eb53d4ef4c187524c2804aa6e0a6406da89.tar.bz2
cmake-d3ab5eb53d4ef4c187524c2804aa6e0a6406da89.zip
Imported Upstream version 3.12.2upstream/3.12.2
Diffstat (limited to 'Modules/FindMatlab.cmake')
-rw-r--r--Modules/FindMatlab.cmake15
1 files changed, 0 insertions, 15 deletions
diff --git a/Modules/FindMatlab.cmake b/Modules/FindMatlab.cmake
index 54e62db74..2d04b84dd 100644
--- a/Modules/FindMatlab.cmake
+++ b/Modules/FindMatlab.cmake
@@ -1218,21 +1218,6 @@ function(_Matlab_find_instances_win32 matlab_roots)
# filtering the results with the registry keys
matlab_get_all_valid_matlab_roots_from_registry("${_matlab_versions_from_registry}" _matlab_possible_roots)
- unset(_matlab_versions_from_registry)
-
- set(_matlab_versions_from_registry)
- matlab_extract_all_installed_versions_from_registry(CMAKE_CL_64 _matlab_versions_from_registry)
-
- # the returned list is empty, doing the search on all known versions
- if(NOT _matlab_versions_from_registry)
- if(MATLAB_FIND_DEBUG)
- message(STATUS "[MATLAB] Search for Matlab from the registry unsuccessful, testing all supported versions")
- endif()
- extract_matlab_versions_from_registry_brute_force(_matlab_versions_from_registry)
- endif()
-
- # filtering the results with the registry keys
- matlab_get_all_valid_matlab_roots_from_registry("${_matlab_versions_from_registry}" _matlab_possible_roots)
set(${matlab_roots} ${_matlab_possible_roots} PARENT_SCOPE)
endfunction()