summaryrefslogtreecommitdiff
path: root/Modules/Platform/tvOS-Initialize.cmake
blob: 6834c8031130997f637d132edbbe6d08479998c6 (plain)
1
2
3
4
5
6
7
include(Platform/Darwin-Initialize)

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

set(_CMAKE_FEATURE_DETECTION_TARGET_TYPE STATIC_LIBRARY)