浏览代码

Disabled Wayland on OS X.

Camilla Berglund 11 年之前
父节点
当前提交
f1cb1f8420
共有 1 个文件被更改,包括 1 次插入1 次删除
  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()