Don't build universal binaries on macOS

This commit is contained in:
momo5502
2025-01-23 18:24:31 +01:00
parent ff51fbcb24
commit 6b43e53a6f
3 changed files with 13 additions and 12 deletions

View File

@@ -24,7 +24,11 @@ set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_OSX_DEPLOYMENT_TARGET 11.0)
set(CMAKE_OSX_ARCHITECTURES "arm64;x86_64")
# Prevent unicorn from generating universal binaries on macOS
# It doesn't support it, even if it thinks it does...
set(ENV{ARCHFLAGS} "nope")
##########################################