瀏覽代碼

Fixed Wayland EGL pkg-config module name.

The wayland-egl module also includes wayland-client.

Fixes #317.
Ricardo Vieira 11 年之前
父節點
當前提交
3eae79f6e0
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      CMakeLists.txt

+ 1 - 1
CMakeLists.txt

@@ -296,7 +296,7 @@ endif()
 #--------------------------------------------------------------------
 if (_GLFW_WAYLAND)
     find_package(Wayland REQUIRED)
-    set(GLFW_PKG_DEPS "${GLFW_PKG_DEPS} wayland")
+    set(GLFW_PKG_DEPS "${GLFW_PKG_DEPS} wayland-egl")
 
     list(APPEND glfw_INCLUDE_DIRS ${WAYLAND_INCLUDE_DIR})
     list(APPEND glfw_LIBRARIES ${WAYLAND_LIBRARIES} -pthread)