aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-12-05 18:35:54 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-12-05 18:35:54 +0000
commit5cd8af44c64d37012d92ffa8c88996a1095f9214 (patch)
treeec11bade10500dd3efdd5f2f3464c89ba95b62fc
parentwayland: include more output (monitor) details in the log output (diff)
meson: we now require -lm
-rw-r--r--meson.build4
1 files changed, 3 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 83765d4d..c82fc64a 100644
--- a/meson.build
+++ b/meson.build
@@ -15,6 +15,8 @@ add_project_arguments(
language: 'c',
)
+cc = meson.get_compiler('c')
+math = cc.find_library('m')
threads = dependency('threads')
pixman = dependency('pixman-1')
wayland_protocols = dependency('wayland-protocols')
@@ -85,7 +87,7 @@ executable(
'vt.c', 'vt.h',
'wayland.c', 'wayland.h',
wl_proto_src + wl_proto_headers, version,
- dependencies: [threads, pixman, wayland_client, wayland_cursor, xkb,
+ dependencies: [math, threads, pixman, wayland_client, wayland_cursor, xkb,
tllist, fcft],
install: true)