iOS-Initialize.cmake 243 B

123456789
  1. include(Platform/Darwin-Initialize)
  2. if(NOT _CMAKE_OSX_SYSROOT_PATH MATCHES "/iPhone(OS|Simulator)")
  3. message(FATAL_ERROR "${CMAKE_OSX_SYSROOT} is not an iOS SDK")
  4. endif()
  5. set(IOS 1)
  6. set(_CMAKE_FEATURE_DETECTION_TARGET_TYPE STATIC_LIBRARY)