mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-24 09:09:43 -05:00
Merge branch 'FindMatlab-minver' into release-3.22
Merge-request: !7047
This commit is contained in:
@@ -1573,6 +1573,7 @@ if(_numbers_of_matlab_roots GREATER 0)
|
||||
list(GET _matlab_possible_roots ${_list_index} Matlab_VERSION_STRING)
|
||||
list(GET _matlab_possible_roots ${_matlab_root_dir_index} Matlab_ROOT_DIR)
|
||||
elseif(DEFINED Matlab_FIND_VERSION)
|
||||
set(_list_index -1)
|
||||
foreach(_matlab_root_index RANGE 1 ${_numbers_of_matlab_roots} 3)
|
||||
list(GET _matlab_possible_roots ${_matlab_root_index} _matlab_root_version)
|
||||
if(_matlab_root_version VERSION_GREATER_EQUAL Matlab_FIND_VERSION)
|
||||
|
||||
Reference in New Issue
Block a user