[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)
|
add_definitions(-DDEBUG)
|
||||||
else()
|
else()
|
||||||
add_definitions(-DNDEBUG)
|
add_definitions(-DNDEBUG)
|
||||||
|
if(APPLE)
|
||||||
|
set(CMAKE_OSX_ARCHITECTURES arm64;x86_64)
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(NOT MSVC)
|
if(NOT MSVC)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user