Skip to content

Commit 9999c3a

Browse files
VladRassokhinnikita-nazarov
authored andcommitted
Build universal macOS library
Fixes #32
1 parent b4d1295 commit 9999c3a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
cmake_minimum_required(VERSION 3.1)
2+
3+
# always build universal binaries on macOS
4+
set(CMAKE_OSX_ARCHITECTURES "arm64;x86_64" CACHE STRING "")
5+
26
project(memory_agent)
37

48
set(CMAKE_CXX_STANDARD 14)

0 commit comments

Comments
 (0)