Skip to content

Commit 46efbcb

Browse files
authored
Merge pull request #550 from warmenhoven/warmenhoven/pr/ios-arch
libretro: ios/tvos builds shouldn't build x86_64
2 parents f38a0bb + 22d0c48 commit 46efbcb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
cmake_minimum_required(VERSION 3.15) # Needed to set MSVC Runtime type
2-
set(CMAKE_OSX_ARCHITECTURES "arm64;x86_64" CACHE STRING "" FORCE)
2+
if(NOT DEFINED CMAKE_OSX_ARCHITECTURES)
3+
set(CMAKE_OSX_ARCHITECTURES "arm64;x86_64" CACHE STRING "")
4+
endif()
35

46
if(APPLE AND (NOT IOS) AND (NOT ANDROID))
57
set(MACOS 1)

0 commit comments

Comments
 (0)