[buildcore] Enable universal binaries for Mac release builds
This commit is contained in:
parent
71e0f181ea
commit
0375f4b785
3
deps/buildcore/base.cmake
vendored
3
deps/buildcore/base.cmake
vendored
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user