mirror of
https://github.com/glfw/glfw.git
synced 2026-09-23 00:59:48 +00:00
Wayland: Add dynamic loading of libxkbcommon
This commit is contained in:
@@ -286,9 +286,7 @@ if (_GLFW_WAYLAND)
|
||||
list(APPEND glfw_LIBRARIES "${Wayland_LIBRARIES}" "${CMAKE_THREAD_LIBS_INIT}")
|
||||
|
||||
find_package(XKBCommon REQUIRED)
|
||||
list(APPEND glfw_PKG_DEPS "xkbcommon")
|
||||
list(APPEND glfw_INCLUDE_DIRS "${XKBCOMMON_INCLUDE_DIRS}")
|
||||
list(APPEND glfw_LIBRARIES "${XKBCOMMON_LIBRARY}")
|
||||
endif()
|
||||
|
||||
#--------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user