forked from external/yambar
tllist: add git submodule directly under subprojects
Meson now falls back to a system dependency if the subproject isn't available.
This commit is contained in:
parent
3f663a0e6f
commit
75d9c9a12d
3 changed files with 10 additions and 1 deletions
|
@ -57,7 +57,12 @@ if backend_x11
|
|||
install_headers('xcb.h', subdir: 'yambar')
|
||||
endif
|
||||
|
||||
tllist = subproject('tllist').get_variable('tllist')
|
||||
tllist_proj = subproject('tllist', required: false)
|
||||
if tllist_proj.found()
|
||||
tllist = tllist_proj.get_variable('tllist')
|
||||
else
|
||||
tllist = dependency('tllist')
|
||||
endif
|
||||
|
||||
subdir('completions')
|
||||
subdir('doc')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue