|
|
|
@ -276,13 +276,13 @@ if (_GLFW_WAYLAND) |
|
|
|
|
find_package(ECM REQUIRED NO_MODULE) |
|
|
|
|
list(APPEND CMAKE_MODULE_PATH "${ECM_MODULE_PATH}") |
|
|
|
|
|
|
|
|
|
find_package(Wayland REQUIRED) |
|
|
|
|
find_package(Wayland REQUIRED Client Cursor Egl) |
|
|
|
|
find_package(WaylandScanner REQUIRED) |
|
|
|
|
find_package(WaylandProtocols 1.1 REQUIRED) |
|
|
|
|
|
|
|
|
|
list(APPEND glfw_PKG_DEPS "wayland-egl") |
|
|
|
|
|
|
|
|
|
list(APPEND glfw_INCLUDE_DIRS "${Wayland_INCLUDE_DIR}") |
|
|
|
|
list(APPEND glfw_INCLUDE_DIRS "${Wayland_INCLUDE_DIRS}") |
|
|
|
|
list(APPEND glfw_LIBRARIES "${Wayland_LIBRARIES}" "${CMAKE_THREAD_LIBS_INIT}") |
|
|
|
|
|
|
|
|
|
find_package(XKBCommon REQUIRED) |
|
|
|
|