arm64-ios.cmake 417 B

123456789101112131415
  1. if (NOT DRACO_CMAKE_TOOLCHAINS_ARM64_IOS_CMAKE_)
  2. set(DRACO_CMAKE_TOOLCHAINS_ARM64_IOS_CMAKE_ 1)
  3. if (XCODE)
  4. # TODO(tomfinegan): Handle arm builds in Xcode.
  5. message(FATAL_ERROR "This toolchain does not support Xcode.")
  6. endif ()
  7. set(CMAKE_SYSTEM_PROCESSOR "arm64")
  8. set(CMAKE_OSX_ARCHITECTURES "arm64")
  9. include("${CMAKE_CURRENT_LIST_DIR}/arm-ios-common.cmake")
  10. endif () # DRACO_CMAKE_TOOLCHAINS_ARM64_IOS_CMAKE_