1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-23 02:38:52 -05:00

Use CMake threading variable for Wayland.

This commit is contained in:
Camilla Berglund 2014-08-11 20:27:48 +02:00
parent 6e0ea02f17
commit dd043d737f

View File

@ -299,7 +299,7 @@ if (_GLFW_WAYLAND)
set(GLFW_PKG_DEPS "${GLFW_PKG_DEPS} wayland-egl") 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}" "${CMAKE_THREAD_LIBS_INIT}")
find_package(XKBCommon REQUIRED) find_package(XKBCommon REQUIRED)
set(GLFW_PKG_DEPS "${GLFW_PKG_DEPS} xkbcommon") set(GLFW_PKG_DEPS "${GLFW_PKG_DEPS} xkbcommon")