diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-12-01 12:43:51 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-12-01 12:43:51 +0000 |
| commit | fd9c28464db8e3f334819ec9d773bf31ed37c088 (patch) | |
| tree | fad92ce613f2dda24cef9f096026578391e905ab /meson.build | |
| parent | meson: tllist: try subproject first, then fallback to system dependency (diff) | |
fcft: use fcft instead of local copy of font.c/font.h
Diffstat (limited to 'meson.build')
| -rw-r--r-- | meson.build | 10 |
1 files changed, 8 insertions, 2 deletions
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( |
