[tracker-miners/sam/meson-subproject] meson: Pass options onto subproject as defaults
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-miners/sam/meson-subproject] meson: Pass options onto subproject as defaults
- Date: Thu, 2 Nov 2017 12:09:40 +0000 (UTC)
commit 1ec6f7b28126326e2d298e5576e215fb5b7a7022
Author: Sam Thursfield <sam thursfield codethink co uk>
Date: Thu Nov 2 12:09:06 2017 +0000
meson: Pass options onto subproject as defaults
meson.build | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/meson.build b/meson.build
index aa5c286..aad4b11 100644
--- a/meson.build
+++ b/meson.build
@@ -14,7 +14,12 @@ tracker_miner = dependency('tracker-miner-2.0', version: '>= 1.99.0', required:
if not tracker_sparql.found() or not tracker_miner.found()
message('Tracker libraries were not found or are too old. A local copy will be built if possible.')
- tracker_subproject = subproject('tracker')
+ tracker_subproject = subproject('tracker',
+ default_options: [
+ 'dbus_services=@0@'.get_option('dbus_services'),
+ 'docs=@0@'.get_option('docs'),
+ 'systemd_user_services=@0@'.get_option('systemd_user_services'),
+ ])
tracker_sparql = tracker_subproject.get_variable('tracker_sparql_dep')
tracker_miner = tracker_subproject.get_variable('tracker_miner_dep')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]