summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam@afuera.me.uk>2017-09-28 18:14:21 +0100
committerSam Thursfield <sam@afuera.me.uk>2017-09-28 18:14:21 +0100
commit42406dd6591a185d5a5b6505f775f1c127ce4f4f (patch)
treefad3badbf181ec66abafc429995f365f0a63485e
parent449f23b61f51a03e9955b50158cd04848b201c97 (diff)
downloadtracker-42406dd6591a185d5a5b6505f775f1c127ce4f4f.tar.gz
meson: Fix hardcoded TRACKER_API_VERSION=1.0
This was causing .pc files with wrong dependencies to be generated when building with Meson, and probably other issues.
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index f955ea9a9..3b7eccefb 100644
--- a/meson.build
+++ b/meson.build
@@ -258,7 +258,7 @@ conf.set('includedir', join_paths(get_option('prefix'), get_option('includedir')
conf.set('libdir', join_paths(get_option('prefix'), get_option('libdir')))
conf.set('libexecdir', join_paths(get_option('prefix'), get_option('libexecdir')))
conf.set('prefix', get_option('prefix'))
-conf.set('TRACKER_API_VERSION', '1.0')
+conf.set('TRACKER_API_VERSION', tracker_api_version)
conf.set('VERSION', meson.project_version())
configure_file(input: 'config.h.meson.in',