watchOS-Initialize.cmake 234 B

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