Skip to content

Commit

Permalink
iOS improvements.
Browse files Browse the repository at this point in the history
  • Loading branch information
kring committed Aug 7, 2024
1 parent 45ac07b commit df77ca6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions native~/extern/ios-toolchain.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
set(GENERATOR Xcode)
set(CMAKE_SYSTEM_NAME iOS)
set(CMAKE_OSX_ARCHITECTURES arm64)
set(CMAKE_SYSTEM_PROCESSOR arm64)
set(CMAKE_OSX_DEPLOYMENT_TARGET 15)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY BOTH)
SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE BOTH)
Expand Down
2 changes: 2 additions & 0 deletions native~/vcpkg/triplets/arm64-ios-unity.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
include("${CMAKE_CURRENT_LIST_DIR}/shared/common.cmake")

set(VCPKG_TARGET_ARCHITECTURE arm64)
set(VCPKG_CRT_LINKAGE dynamic)
set(VCPKG_LIBRARY_LINKAGE static)
Expand Down

0 comments on commit df77ca6

Please sign in to comment.