aboutsummaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-04-27 13:53:34 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-04-27 13:53:34 +0000
commitc4e3b9f69dbfa1ba4b16cb51bdc9738c135aed45 (patch)
tree0daab7006eae1bbd06b378052bf6fdf067214322 /meson.build
parentmeson: bump C standard to c18 (diff)
parentvt: lazily reset utf8 in action_utf8_*_entry (diff)
Merge branch 'unicode-combining'
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build5
1 files changed, 4 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 98c804a6..464e3b54 100644
--- a/meson.build
+++ b/meson.build
@@ -57,6 +57,9 @@ wayland_client = dependency('wayland-client')
wayland_cursor = dependency('wayland-cursor')
xkb = dependency('xkbcommon')
+utf8proc = dependency('libutf8proc', required: get_option('unicode-combining'))
+add_project_arguments('-DFOOT_UNICODE_COMBINING=@0@'.format(utf8proc.found()), language: 'c')
+
tllist = dependency('tllist', version: '>=1.0.1', fallback: 'tllist')
fcft = dependency('fcft', version: ['>=2.0.0', '<2.1.0'], fallback: 'fcft')
@@ -125,7 +128,7 @@ executable(
'vt.c', 'vt.h',
'wayland.c', 'wayland.h',
wl_proto_src + wl_proto_headers, version,
- dependencies: [math, threads, pixman, wayland_client, wayland_cursor, xkb,
+ dependencies: [math, threads, pixman, wayland_client, wayland_cursor, xkb, utf8proc,
tllist, fcft],
install: true)