wayland: fix pkg-config package name

wayland-egl also includes wayland-client
This commit is contained in:
Ricardo Vieira 2014-06-28 17:36:17 +01:00
parent 51208601a4
commit 8d1892cb89

View File

@ -296,7 +296,7 @@ endif()
#-------------------------------------------------------------------- #--------------------------------------------------------------------
if (_GLFW_WAYLAND) if (_GLFW_WAYLAND)
find_package(Wayland REQUIRED) 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_INCLUDE_DIRS ${WAYLAND_INCLUDE_DIR})
list(APPEND glfw_LIBRARIES ${WAYLAND_LIBRARIES}) list(APPEND glfw_LIBRARIES ${WAYLAND_LIBRARIES})