aboutsummaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-10-07 13:25:56 -0400
committerDavid Robillard <d@drobilla.net>2022-10-07 13:25:56 -0400
commit94e66b9793932483b5b0f5f67a16c4c16bd4665c (patch)
treece873c46fc9bee0d6473ca4e5a03140dcb9d5cba /meson.build
parent1a8312b6cc119788ea0d3f4e6ebf3a2ae2a3075f (diff)
downloadserd-94e66b9793932483b5b0f5f67a16c4c16bd4665c.tar.gz
serd-94e66b9793932483b5b0f5f67a16c4c16bd4665c.tar.bz2
serd-94e66b9793932483b5b0f5f67a16c4c16bd4665c.zip
Override pkg-config dependency within meson
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build5
1 files changed, 4 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 2fe58108..8f3c2876 100644
--- a/meson.build
+++ b/meson.build
@@ -2,7 +2,7 @@
# SPDX-License-Identifier: 0BSD OR ISC
project('serd', ['c'],
- version: '0.30.16',
+ version: '0.30.17',
license: 'ISC',
meson_version: '>= 0.56.0',
default_options: [
@@ -110,6 +110,9 @@ pkg.generate(
version: meson.project_version(),
)
+# Override pkg-config dependency for internal meson dependants
+meson.override_dependency(versioned_name, serd_dep)
+
# Install header to a versioned include directory
install_headers(c_headers, subdir: versioned_name / 'serd')