From e7baf6cca05717eb9e07384ce18f8d34c57e795a Mon Sep 17 00:00:00 2001 From: essej Date: Thu, 28 Sep 2023 22:08:49 +0200 Subject: [PATCH] Build fat binaries by default on MacOS --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index aade7ad..67b55c4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,6 +5,8 @@ else() cmake_minimum_required(VERSION 3.13) endif() +set(CMAKE_OSX_ARCHITECTURES "x86_64;arm64" CACHE INTERNAL "") + # The project was splitted in 2 repositories: # - `sfizz` for the library, which represents the main repository reference # - `sfizz-ui` for UIs (plugins with a future standalone UI in mind).