Skip to content

Commit 371a6a5

Browse files
authored
fix platform detection
1 parent d70b4ec commit 371a6a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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)
4+
if ("${CMAKE_SYSTEM_NAME}" STREQUAL "iOS" OR IOS)
55
set(CMAKE_OSX_ARCHITECTURES "arm64")
66
else()
77
set(CMAKE_OSX_ARCHITECTURES "arm64;x86_64")

0 commit comments

Comments
 (0)