gse/cmake/share/cmake-3.30/Modules/Platform/iOS-Initialize.cmake
2024-08-19 00:33:31 +02:00

10 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)