From fd9c28464db8e3f334819ec9d773bf31ed37c088 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sun, 1 Dec 2019 13:43:51 +0100 Subject: fcft: use fcft instead of local copy of font.c/font.h --- meson.build | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'meson.build') diff --git a/meson.build b/meson.build index f97cd609..fe33d497 100644 --- a/meson.build +++ b/meson.build @@ -69,6 +69,13 @@ else tllist = dependency('tllist') endif +fcft_proj = subproject('fcft') +if fcft_proj.found() + fcft = fcft_proj.get_variable('fcft') +else + fcft = dependency('fcft') +endif + executable( 'foot', 'async.c', 'async.h', @@ -77,7 +84,6 @@ executable( 'commands.c', 'commands.h', 'csi.c', 'csi.h', 'fdm.c', 'fdm.h', - 'font.c', 'font.h', 'grid.c', 'grid.h', 'input.c', 'input.h', 'log.c', 'log.h', @@ -95,7 +101,7 @@ executable( 'wayland.c', 'wayland.h', wl_proto_src + wl_proto_headers, version, dependencies: [threads, math, freetype, fontconfig, pixman, wayland_client, wayland_cursor, xkb, - tllist], + tllist, fcft], install: true) executable( -- cgit v1.3