mirror of
https://github.com/SFML/SFML.git
synced 2025-01-19 07:45:13 +08:00
[iOS] Made the build independent of the iOS framework version
This commit is contained in:
parent
4bd1a66915
commit
b9fd685a60
@ -22,7 +22,7 @@ elseif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
|||||||
set(SFML_OS_IOS 1)
|
set(SFML_OS_IOS 1)
|
||||||
|
|
||||||
# set the target framework and platforms
|
# set the target framework and platforms
|
||||||
set(CMAKE_OSX_SYSROOT "iphoneos6.1") # todo set by user variable? auto-detected?
|
set(CMAKE_OSX_SYSROOT "iphoneos")
|
||||||
set(CMAKE_OSX_ARCHITECTURES "armv6;armv7;i386")
|
set(CMAKE_OSX_ARCHITECTURES "armv6;armv7;i386")
|
||||||
set(CMAKE_XCODE_EFFECTIVE_PLATFORMS "-iphoneos;-iphonesimulator")
|
set(CMAKE_XCODE_EFFECTIVE_PLATFORMS "-iphoneos;-iphonesimulator")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user