mirror of
https://github.com/reactos/CMake.git
synced 2024-12-10 04:44:29 +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
231 B
CMake
8 lines
231 B
CMake
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(_CMAKE_FEATURE_DETECTION_TARGET_TYPE STATIC_LIBRARY)
|