feat: iOS configuration build
This commit is contained in:
parent
025b86b226
commit
c80e0c4733
1 changed files with 22 additions and 0 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in a new issue