[grilo-plugins/sam/dummy-dep: 3/3] build: Make it possible to use grilo-plugins as a Meson subproject
- From: Victor Toso <victortoso src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo-plugins/sam/dummy-dep: 3/3] build: Make it possible to use grilo-plugins as a Meson subproject
- Date: Sat, 27 Mar 2021 18:12:49 +0000 (UTC)
commit e880c368ed7726b1b505eca2b18bc5ab843ba7aa
Author: Sam Thursfield <sam afuera me uk>
Date: Sun Oct 6 21:04:48 2019 +0200
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']
meson.build | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/meson.build b/meson.build
index 8d97a137..736bc971 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()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]