Browse Source

Disabled Wayland on OS X.

Camilla Berglund 11 năm trước cách đây
mục cha
commit
f1cb1f8420
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      CMakeLists.txt

+ 1 - 1
CMakeLists.txt

@@ -31,7 +31,7 @@ else()
     option(GLFW_USE_EGL "Use EGL for context creation" OFF)
 endif()
 
-if (UNIX)
+if (UNIX AND NOT APPLE)
     option(GLFW_USE_WAYLAND "Use Wayland for context creation (implies EGL as well)" OFF)
 endif()