mirror of
https://github.com/glfw/glfw.git
synced 2024-11-26 06:14:35 +00:00
Fixed Wayland EGL pkg-config module name.
The wayland-egl module also includes wayland-client. Fixes #317.
This commit is contained in:
parent
76f78cf123
commit
3eae79f6e0
@ -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} -pthread)
|
list(APPEND glfw_LIBRARIES ${WAYLAND_LIBRARIES} -pthread)
|
||||||
|
Loading…
Reference in New Issue
Block a user