Skip to content

Commit

Permalink
Merge pull request simonowen#3 from renaudguerin/master
Browse files Browse the repository at this point in the history
Apple Silicon (arm64) support in macOS builds
  • Loading branch information
simonowen authored Feb 25, 2021
2 parents 549b195 + 394b590 commit b008011
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ set(MINOR_VERSION 1)
option(BUILD_SHARED_LIBS "Build a dynamic library instead of static library" ON)

if (APPLE)
option(BUILD_FRAMEWORK "Build a Mac OS X framework instead of a shared library" OFF)
set(CMAKE_OSX_ARCHITECTURES "i386;x86_64")
option(BUILD_FRAMEWORK "Build a macOS framework instead of a shared library" ON)
set(CMAKE_OSX_ARCHITECTURES "x86_64;arm64")
set(BUILD_SHARED_LIBS ON)
endif()

Expand Down

0 comments on commit b008011

Please sign in to comment.