mirror of https://github.com/axmolengine/axmol.git
Update ios.mini.cmake
This commit is contained in:
parent
bca3a82eea
commit
421001bdd7
|
@ -50,7 +50,8 @@ if("${CMAKE_OSX_ARCHITECTURES}" MATCHES "x86_64")
|
|||
endif()
|
||||
|
||||
# Sets CMAKE_SYSTEM_PROCESSOR for iphoneos and iphonesimulator
|
||||
if("${CMAKE_OSX_SYSROOT}" MATCHES "iphonesimulator")
|
||||
string(TOLOWER "${CMAKE_OSX_SYSROOT}" lowercase_CMAKE_OSX_SYSROOT)
|
||||
if("${lowercase_CMAKE_OSX_SYSROOT}" MATCHES "iphonesimulator")
|
||||
if("${CMAKE_OSX_ARCHITECTURES}" MATCHES "i386")
|
||||
set(CMAKE_SYSTEM_PROCESSOR i386)
|
||||
elseif("${CMAKE_OSX_ARCHITECTURES}" MATCHES "x86_64")
|
||||
|
|
Loading…
Reference in New Issue