meson: group tllist/fcft with the other system dependencies

This commit is contained in:
Daniel Eklöf 2019-12-01 16:09:49 +01:00
parent 64844a8937
commit 331f7d0be2
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -34,6 +34,10 @@ wayland_cursor = dependency('wayland-cursor', required: get_option('backend-wayl
wlroots = dependency('wlroots', required: get_option('backend-wayland'))
backend_wayland = wayland_client.found() and wayland_cursor.found() and wlroots.found()
# "My" dependencies, fallback to subproject
tllist = dependency('tllist', fallback: ['tllist', 'tllist'])
fcft = dependency('fcft', fallback: ['fcft', 'fcft'])
add_project_arguments(
['-D_GNU_SOURCE'] +
(is_debug_build ? ['-D_DEBUG'] : []) +
@ -55,9 +59,6 @@ if backend_x11
install_headers('xcb.h', subdir: 'yambar')
endif
tllist = dependency('tllist', fallback: ['tllist', 'tllist'])
fcft = dependency('fcft', fallback: ['fcft', 'fcft'])
subdir('completions')
subdir('doc')
subdir('bar')