mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-24 09:05:48 -04:00
meson: tllist: try subproject first, then fallback to system dependency
This commit is contained in:
parent
9f91760886
commit
3c939f76e3
1 changed files with 6 additions and 1 deletions
|
|
@ -62,7 +62,12 @@ version = custom_target(
|
||||||
output: 'version.h',
|
output: 'version.h',
|
||||||
command: [generate_version_sh, meson.project_version(), '@SOURCE_DIR@', '@OUTPUT@'])
|
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
|
||||||
|
|
||||||
executable(
|
executable(
|
||||||
'foot',
|
'foot',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue