Skip to content

Commit

Permalink
Closes #77: Add support for maca64 to CMakeLists.txt (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
sgilmore10 authored Apr 26, 2024
1 parent f098690 commit 2636935
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion libmexclass/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,11 @@ macro(MatlabConfigureVariables)
else()
set(SHARED_LIB_SUFFIX "${CMAKE_SHARED_LIBRARY_SUFFIX}")
if(APPLE)
set(PLATFORM_FOLDER "maci64")
if (${CMAKE_HOST_SYSTEM_PROCESSOR} STREQUAL "arm64")
set(PLATFORM_FOLDER "maca64")
else()
set(PLATFORM_FOLDER "maci64")
endif()
elseif(UNIX AND NOT CYGWIN)
set(PLATFORM_FOLDER "glnxa64")
else()
Expand Down

0 comments on commit 2636935

Please sign in to comment.