zdoom-macos-deps/deps/cmake/share/cmake-3.25/Modules/Platform/iOS-Initialize.cmake
2023-01-10 16:43:43 +02:00

9 lines
243 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(IOS 1)
set(_CMAKE_FEATURE_DETECTION_TARGET_TYPE STATIC_LIBRARY)