Files
voice-cat/cmake/toolchains/ios-simulator.cmake

9 lines
456 B
CMake
Raw Permalink Normal View History

# Chainload toolchain for iOS simulator cross-compilation (arm64-ios-simulator vcpkg triplet).
# Loaded by vcpkg when building all dependencies for the arm64-ios-simulator target, ensuring
# every dep is compiled against the iphonesimulator SDK (platform tag IOSSIMULATOR, not IOS).
set(CMAKE_SYSTEM_NAME iOS)
set(CMAKE_SYSTEM_PROCESSOR arm64)
set(CMAKE_OSX_ARCHITECTURES arm64)
set(CMAKE_OSX_SYSROOT iphonesimulator)
set(CMAKE_OSX_DEPLOYMENT_TARGET 17.0)