Browse Source

Disabled Wayland on OS X.

Camilla Berglund 11 years ago
parent
commit
f1cb1f8420
1 changed files with 1 additions and 1 deletions
  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()