mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Merge topic 'FindMatlab-macos-arm64' into release-3.24
f0edac914a FindMatlab: Add MEX binary file suffix for Apple Silicon native Matlab
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7673
This commit is contained in:
@@ -1741,7 +1741,11 @@ endif()
|
||||
if(APPLE)
|
||||
set(_matlab_bin_prefix "mac") # i should be for intel
|
||||
set(_matlab_bin_suffix_32bits "i")
|
||||
set(_matlab_bin_suffix_64bits "i64")
|
||||
if(CMAKE_SYSTEM_PROCESSOR STREQUAL "arm64")
|
||||
set(_matlab_bin_suffix_64bits "a64")
|
||||
else()
|
||||
set(_matlab_bin_suffix_64bits "i64")
|
||||
endif()
|
||||
elseif(UNIX)
|
||||
set(_matlab_bin_prefix "gln")
|
||||
set(_matlab_bin_suffix_32bits "x86")
|
||||
|
||||
Reference in New Issue
Block a user