From 3eae79f6e0b79baaff6cacf3f2cbd779fb61c5d9 Mon Sep 17 00:00:00 2001 From: Ricardo Vieira Date: Sat, 28 Jun 2014 17:36:17 +0100 Subject: [PATCH] Fixed Wayland EGL pkg-config module name. The wayland-egl module also includes wayland-client. Fixes #317. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b638b96f..a74c9a4c 100644 --- a/CMakeLists.txt +++ b/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)