mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
[iOS] Resolve Cmake warning
This commit is contained in:
parent
1618aa8f8c
commit
a80c8c7c9c
1 changed files with 2 additions and 2 deletions
|
@ -72,14 +72,14 @@ else()
|
|||
set(IOS_ARCH "i386;x86_64")
|
||||
endif()
|
||||
|
||||
set(CMAKE_OSX_ARCHITECTURES "${IOS_ARCH}" CACHE string "Build architecture for iOS")
|
||||
set(CMAKE_OSX_ARCHITECTURES "${IOS_ARCH}" CACHE STRING "Build architecture for iOS")
|
||||
set(CMAKE_ASM_FLAGS "" CACHE STRING "" FORCE)
|
||||
foreach(arch ${IOS_ARCH})
|
||||
set(CMAKE_ASM_FLAGS "${CMAKE_ASM_FLAGS} -arch ${arch}" CACHE STRING "" FORCE)
|
||||
endforeach()
|
||||
|
||||
# Set the find root to the iOS developer roots and to user defined paths
|
||||
set(CMAKE_FIND_ROOT_PATH ${CMAKE_IOS_SDK_ROOT} ${CMAKE_PREFIX_PATH} CACHE string "iOS find search path root")
|
||||
set(CMAKE_FIND_ROOT_PATH ${CMAKE_IOS_SDK_ROOT} ${CMAKE_PREFIX_PATH} CACHE STRING "iOS find search path root")
|
||||
|
||||
# default to searching for frameworks first
|
||||
set(CMAKE_FIND_FRAMEWORK FIRST)
|
||||
|
|
Loading…
Add table
Reference in a new issue