mirror of
https://github.com/SFML/SFML.git
synced 2024-12-01 07:41:05 +08:00
Force correct iOS architecture for cmake
This commit is contained in:
parent
deeb3a95f3
commit
0118776b7e
@ -180,7 +180,7 @@ elseif (${IOS_PLATFORM} STREQUAL SIMULATOR64)
|
|||||||
set (IOS_ARCH x86_64)
|
set (IOS_ARCH x86_64)
|
||||||
endif (${IOS_PLATFORM} STREQUAL OS)
|
endif (${IOS_PLATFORM} STREQUAL OS)
|
||||||
|
|
||||||
set (CMAKE_OSX_ARCHITECTURES ${IOS_ARCH} CACHE string "Build architecture for iOS")
|
set (CMAKE_OSX_ARCHITECTURES ${IOS_ARCH} CACHE string "Build architecture for iOS" FORCE)
|
||||||
message (STATUS "iOS arches=${IOS_ARCH}")
|
message (STATUS "iOS arches=${IOS_ARCH}")
|
||||||
|
|
||||||
# Set the find root to the iOS developer roots and to user defined paths
|
# Set the find root to the iOS developer roots and to user defined paths
|
||||||
|
Loading…
Reference in New Issue
Block a user