fcft: use fcft instead of local copy of font.c/font.h

This commit is contained in:
Daniel Eklöf 2019-12-01 13:43:51 +01:00
parent 3c939f76e3
commit fd9c28464d
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
8 changed files with 23 additions and 8 deletions

View file

@ -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(