diff --git a/meson.build b/meson.build index 46352da5..d23300be 100644 --- a/meson.build +++ b/meson.build @@ -70,6 +70,7 @@ fish_comp = dependency('fish', required: false) math = cc.find_library('m') rt = cc.find_library('rt') xcb_icccm = dependency('xcb-icccm', required: get_option('xwayland')) +threads = dependency('threads') # for pthread_setschedparam wlroots_features = { 'xwayland': false, diff --git a/sway/meson.build b/sway/meson.build index 5dd9cad2..47c59dd5 100644 --- a/sway/meson.build +++ b/sway/meson.build @@ -220,6 +220,7 @@ sway_deps = [ glesv2, pixman, server_protos, + threads, wayland_server, wlroots, xkbcommon,