aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2022-09-12 11:01:40 +0100
committerSimon Tatham <anakin@pobox.com>2022-09-12 11:01:40 +0100
commit27dd36e3e642d255702789423bb001b3ff08e8e3 (patch)
tree7c1152287d3620e91be25a31d81046b27cf49d6b /cmake
parent9c13279938cfdd3f85a83c3f9ab1714a5a9164ae (diff)
downloadpuzzles-27dd36e3e642d255702789423bb001b3ff08e8e3.zip
puzzles-27dd36e3e642d255702789423bb001b3ff08e8e3.tar.gz
puzzles-27dd36e3e642d255702789423bb001b3ff08e8e3.tar.bz2
puzzles-27dd36e3e642d255702789423bb001b3ff08e8e3.tar.xz
Enable Apple Silicon in the MacOS builds.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/platforms/osx.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/platforms/osx.cmake b/cmake/platforms/osx.cmake
index 2e95d4b..39cf544 100644
--- a/cmake/platforms/osx.cmake
+++ b/cmake/platforms/osx.cmake
@@ -6,6 +6,8 @@ set(CPACK_DMG_VOLUME_NAME "Simon Tatham's Puzzle Collection")
include(CPack)
set(build_individual_puzzles FALSE)
+set(CMAKE_OSX_ARCHITECTURES arm64 x86_64)
+
set(build_gui_programs FALSE) # they don't really fit in the OS X GUI model
function(get_platform_puzzle_extra_source_files OUTVAR NAME)