Skip to content

Commit

Permalink
Enable universal binary arm/x64 build for Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
mwdiers committed Jan 12, 2023
1 parent 9f5e321 commit 6ef0cb7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ cmake_minimum_required(VERSION 3.15)
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
set(CMAKE_OSX_DEPLOYMENT_TARGET 10.11 CACHE STRING "Build for 10.1")
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
set(CMAKE_OSX_ARCHITECTURES "arm64;x86_64" CACHE STRING "" FORCE)

if(NOT CMAKE_BUILD_TYPE)
message(STATUS "CMAKE_BUILD_TYPE Type Unspecified; picking Release")
Expand Down

0 comments on commit 6ef0cb7

Please sign in to comment.