mirror of
https://github.com/glfw/glfw.git
synced 2024-11-22 21:14:35 +00:00
Use CMake threading variable for Wayland.
This commit is contained in:
parent
6e0ea02f17
commit
dd043d737f
@ -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")
|
||||||
|
Loading…
Reference in New Issue
Block a user