From 87dbaafa7a05d09598a934163c73bc395a960b9a Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sat, 2 Apr 2022 16:49:07 -0500 Subject: [PATCH] [buildcore] Enable universal binaries for Mac release builds --- base.cmake | 3 +++ 1 file changed, 3 insertions(+) diff --git a/base.cmake b/base.cmake index 69f860b..6238071 100644 --- a/base.cmake +++ b/base.cmake @@ -26,6 +26,9 @@ if(CMAKE_BUILD_TYPE STREQUAL "Debug") add_definitions(-DDEBUG) else() add_definitions(-DNDEBUG) + if(APPLE) + set(CMAKE_OSX_ARCHITECTURES arm64;x86_64) + endif() endif() if(NOT MSVC)