summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/watchOS-Initialize.cmake
blob: 2f396d394db58b7826960785f4988e3d8e25c3ac (plain)
1
2
3
4
5
6
7
include(Platform/Darwin-Initialize)

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

set(_CMAKE_FEATURE_DETECTION_TARGET_TYPE STATIC_LIBRARY)