소스 검색

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)
     option(GLFW_USE_EGL "Use EGL for context creation" OFF)
 endif()
 endif()
 
 
-if (UNIX)
+if (UNIX AND NOT APPLE)
     option(GLFW_USE_WAYLAND "Use Wayland for context creation (implies EGL as well)" OFF)
     option(GLFW_USE_WAYLAND "Use Wayland for context creation (implies EGL as well)" OFF)
 endif()
 endif()