build: use meson.override_dependency
This allows downstream users to write: dependency('libseat', fallback: 'seatd') instead of having to rely on the seatd/meson.build's variable name: dependency('libseat', fallback: ['seatd', 'libseat'])
This commit is contained in:
parent
f381e22955
commit
936ff9dbea
1 changed files with 2 additions and 0 deletions
|
@ -200,6 +200,8 @@ libseat = declare_dependency(
|
||||||
variables: libseat_vars,
|
variables: libseat_vars,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
meson.override_dependency('libseat', libseat)
|
||||||
|
|
||||||
if with_server
|
if with_server
|
||||||
executable(
|
executable(
|
||||||
'seatd',
|
'seatd',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue