mirror of
https://github.com/reactos/CMake.git
synced 2024-11-27 13:30:39 +00:00
11da882a12
- Remove code signing requirements for non-macOS - Do not set deployment target for non-macOS - Build static library for compiler feature detection for non-macOS - Use framework to run CompilerId tests for watchOS - Port tests to new SDK handling - Add new Apple cross-compiling section to toolchain documentation Closes: #17870
8 lines
234 B
CMake
8 lines
234 B
CMake
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)
|