wayland: Build with -pthread

This commit is contained in:
Jonas Ådahl 2014-06-29 12:30:19 +02:00
parent a75cf5a163
commit 7d373477ed

View File

@ -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)