[buildcore] Enable universal binaries for Mac release builds

This commit is contained in:
Gary Talent 2022-04-02 16:49:07 -05:00
parent 71e0f181ea
commit 0375f4b785

View File

@ -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)