Skip to content

Commit 5ac9662

Browse files
committed
feat(cmake): oop
1 parent ce469cd commit 5ac9662

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,7 +1,11 @@
11
cmake_minimum_required(VERSION 3.21)
22
set(CMAKE_CXX_STANDARD 20)
33
set(CMAKE_CXX_STANDARD_REQUIRED ON)
4+
if ("${GEODE_TARGET_PLATFORM}" STREQUAL "iOS" OR IOS)
5+
set(CMAKE_OSX_ARCHITECTURES "arm64")
6+
else()
47
set(CMAKE_OSX_ARCHITECTURES "arm64;x86_64")
8+
endif()
59
set(CMAKE_CXX_VISIBILITY_PRESET hidden)
610

711
if (DEFINED ENV{GITHUB_ACTIONS})

0 commit comments

Comments
 (0)