meson.build: link with -lm

This commit is contained in:
Johan Malm 2021-01-12 16:47:26 +00:00
parent 29b9e3334d
commit 2a7086d9f7

View file

@ -50,6 +50,7 @@ cairo = dependency('cairo')
pangocairo = dependency('pangocairo')
input = dependency('libinput', version: '>=1.14')
pixman = dependency('pixman-1')
math = cc.find_library('m')
if get_option('xwayland').enabled() and not wlroots_has_xwayland
error('no wlroots Xwayland support')
@ -64,7 +65,7 @@ subdir('protocols')
labwc_deps = [
server_protos, wayland_server, wlroots, xkbcommon, xml2, glib,
cairo, pangocairo, input, pixman
cairo, pangocairo, input, pixman, math,
]
subdir('include')