diff options
author | Simon Ser <contact@emersion.fr> | 2021-12-14 11:14:39 +0000 |
---|---|---|
committer | Kenny Levinsen <kl@kl.wtf> | 2021-12-16 10:40:32 +0100 |
commit | 936ff9dbea9148f0b5e4892c392337060bee5860 (patch) | |
tree | c73d98c30de099ba8ac41a3accf7fdd009ef3ef3 /meson.build | |
parent | f381e22955d9bcffd1c47c70626f22972e5af1db (diff) |
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'])
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meson.build b/meson.build index c313294..960c3b6 100644 --- a/meson.build +++ b/meson.build @@ -200,6 +200,8 @@ libseat = declare_dependency( variables: libseat_vars, ) +meson.override_dependency('libseat', libseat) + if with_server executable( 'seatd', |