Skip to content

Commit

Permalink
Fix/Mac: Build x64/arm bundle again
Browse files Browse the repository at this point in the history
  • Loading branch information
TwinFan committed Feb 3, 2024
1 parent b7eaacd commit 067af81
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ if(DEFINED ENV{platform})
elseif($ENV{platform} STREQUAL "mac-arm")
message (" Building cross-platform for mac/arm64")
set(CMAKE_OSX_ARCHITECTURES "arm64" CACHE STRING "Archs to build")
elseif($ENV{platform} STREQUAL "mac")
message (" Building cross-platform for both mac/x86_64 and mac/arm64")
set(CMAKE_OSX_ARCHITECTURES "x86_64;arm64" CACHE STRING "Archs to build")
endif()
else()
# No 'platform' defined could mean running from command line, assume we build universal image in one go via XCode
Expand Down
2 changes: 1 addition & 1 deletion lib/XPMP2

0 comments on commit 067af81

Please sign in to comment.