forked from external/yambar
meson: tllist/fcft: use system dependency first, fallback to subprojects
This commit is contained in:
parent
dea021e8ef
commit
64844a8937
1 changed files with 2 additions and 13 deletions
15
meson.build
15
meson.build
|
@ -55,19 +55,8 @@ if backend_x11
|
||||||
install_headers('xcb.h', subdir: 'yambar')
|
install_headers('xcb.h', subdir: 'yambar')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
tllist_proj = subproject('tllist', required: false)
|
tllist = dependency('tllist', fallback: ['tllist', 'tllist'])
|
||||||
if tllist_proj.found()
|
fcft = dependency('fcft', fallback: ['fcft', 'fcft'])
|
||||||
tllist = tllist_proj.get_variable('tllist')
|
|
||||||
else
|
|
||||||
tllist = dependency('tllist')
|
|
||||||
endif
|
|
||||||
|
|
||||||
fcft_proj = subproject('fcft', required: false)
|
|
||||||
if fcft_proj.found()
|
|
||||||
fcft = fcft_proj.get_variable('fcft')
|
|
||||||
else
|
|
||||||
fcft = dependency('fcft')
|
|
||||||
endif
|
|
||||||
|
|
||||||
subdir('completions')
|
subdir('completions')
|
||||||
subdir('doc')
|
subdir('doc')
|
||||||
|
|
Loading…
Add table
Reference in a new issue