zdoom-macos-deps/deps/cmake/share/cmake-3.25/Modules/Platform/iOS-Initialize.cmake

10 lines
243 B
CMake
Raw Normal View History

2021-07-25 09:55:31 +00:00
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)