diff --git a/CMakeLists.txt b/CMakeLists.txt index 3c1d8e92..eb5ea20c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -299,7 +299,7 @@ if (_GLFW_WAYLAND) set(GLFW_PKG_DEPS "${GLFW_PKG_DEPS} wayland") list(APPEND glfw_INCLUDE_DIRS ${WAYLAND_INCLUDE_DIR}) - list(APPEND glfw_LIBRARIES ${WAYLAND_LIBRARIES}) + list(APPEND glfw_LIBRARIES ${WAYLAND_LIBRARIES} -pthread) find_library(MATH_LIBRARY m) mark_as_advanced(MATH_LIBRARY)