feat: iOS configuration build

This commit is contained in:
vsaint1 2026-05-23 04:36:50 -03:00
commit c80e0c4733

View file

@ -29,6 +29,10 @@ include(CompilerFlags)
# Registers build options that are exposed to cmake
include(CMakeOptions.txt)
if ("${PLATFORM}" STREQUAL "iOS")
enable_language(OBJC)
endif()
if (UNIX AND NOT APPLE AND NOT "${PLATFORM}" MATCHES "DRM" AND NOT "${PLATFORM}" MATCHES "Web" AND NOT "${PLATFORM}" MATCHES "SDL")
if (NOT GLFW_BUILD_WAYLAND AND NOT GLFW_BUILD_X11)
message(FATAL_ERROR "Cannot disable both Wayland and X11")