Wayland: Add dynamic loading of libxkbcommon

This commit is contained in:
Emmanuel Gil Peyrot
2017-08-26 19:25:24 +01:00
parent 2867ca1e5b
commit a7a70cf34d
3 changed files with 100 additions and 2 deletions
-2
View File
@@ -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()
#--------------------------------------------------------------------