summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/iOS-Initialize.cmake
blob: 301ca4cbdaed00f5804b9a2d29a581b65e18daef (plain)
1
2
3
4
5
6
7
8
9
include(Platform/Darwin-Initialize)

if(NOT _CMAKE_OSX_SYSROOT_PATH MATCHES "/iPhone(OS|Simulator)")
  message(FATAL_ERROR "${CMAKE_OSX_SYSROOT} is not an iOS SDK")
endif()

set(IOS 1)

set(_CMAKE_FEATURE_DETECTION_TARGET_TYPE STATIC_LIBRARY)