diff options
Diffstat (limited to 'meson.build')
| -rw-r--r-- | meson.build | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/meson.build b/meson.build index 26c5622d..fe33d497 100644 --- a/meson.build +++ b/meson.build @@ -62,7 +62,19 @@ version = custom_target( output: 'version.h', command: [generate_version_sh, meson.project_version(), '@SOURCE_DIR@', '@OUTPUT@']) -tllist = subproject('tllist').get_variable('tllist') +tllist_proj = subproject('tllist') +if tllist_proj.found() + tllist = tllist_proj.get_variable('tllist') +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', @@ -72,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', @@ -90,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( |
