FindMatlab: Add MEX binary file suffix for Apple Silicon native Matlab

Matlab has an open beta test for Matlab on Apple Silicon. The Matlab MEX binary file suffix is distinct for Apple Silicon. Matlab is soon opening a second open beta for Matlab R2022b. I have had email discussion with Mathworks where they confirm this is the correct file suffix going forward.

With this change, Matlab native Apple Silicon MEX features work.

Backport: release
Topic-rename: FindMatlab-macos-arm64

Edited by Brad King

Merge request reports

Loading