diff options
author | Sam Thursfield <sam@afuera.me.uk> | 2019-10-06 21:04:48 +0200 |
---|---|---|
committer | Victor Toso <victortoso@gnome.org> | 2021-03-27 18:12:48 +0000 |
commit | e880c368ed7726b1b505eca2b18bc5ab843ba7aa (patch) | |
tree | 2ae5057448a58e0f0c3ba78f48dfb289d1f3e875 | |
parent | bae400f9fb0de6d3f4157cf8160a8f6ab35085e2 (diff) | |
download | grilo-plugins-e880c368ed7726b1b505eca2b18bc5ab843ba7aa.tar.gz |
build: Make it possible to use grilo-plugins as a Meson subproject
This commit adds a dummy declare_dependency() object. This is needed
so that other projects can embed grilo-plugins as a Meson subproject,
like this:
dependency('grilo-plugins-0.3', version: '>= 0.3.9',
fallback: ['grilo-plugins', 'grilo_plugins_dep']
-rw-r--r-- | meson.build | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meson.build b/meson.build index 8d97a13..736bc97 100644 --- a/meson.build +++ b/meson.build @@ -195,3 +195,7 @@ subdir('src') subdir('help') subdir('po') subdir('tests') + +# This is a dummy dependency for use when grilo-plugins is built as a Meson +# subproject. +grilo_plugins_dep = declare_dependency() |