diff options
author | Bernd Schubert <bernd.schubert@fastmail.fm> | 2022-06-20 14:58:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-20 13:58:12 +0100 |
commit | 8db2ba06fef10f38f90b0f3213dd39ec07678e2f (patch) | |
tree | ffa013ffd110f86773343ac8a8b9556c07ae1eba | |
parent | 8d934122df6b1664927641ba19105fefb7b2a1f8 (diff) | |
download | fuse-8db2ba06fef10f38f90b0f3213dd39ec07678e2f.tar.gz |
Increase meson min version and avoid get_pkgconfig_variable warning (#682)
meson was complaining:
Build targets in project: 27
NOTICE: Future-deprecated features used:
* 0.56.0: {'Dependency.get_pkgconfig_variable'}
So change to .get_variable(pkgconfig : 'type' and also increase
the meson minimal version to be able to handle it.
Co-authored-by: Bernd Schubert <bschubert@ddn.com>
-rw-r--r-- | meson.build | 2 | ||||
-rw-r--r-- | util/meson.build | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/meson.build b/meson.build index 342dee1..f7ebe01 100644 --- a/meson.build +++ b/meson.build @@ -1,5 +1,5 @@ project('libfuse3', ['c'], version: '3.11.0', - meson_version: '>= 0.42', + meson_version: '>= 0.51', default_options: [ 'buildtype=debugoptimized', 'cpp_std=c++11', diff --git a/util/meson.build b/util/meson.build index 577668f..bdbd11c 100644 --- a/util/meson.build +++ b/util/meson.build @@ -17,7 +17,7 @@ executable('mount.fuse3', ['mount.fuse.c'], udevrulesdir = get_option('udevrulesdir') if udevrulesdir == '' udev = dependency('udev') - udevrulesdir = join_paths(udev.get_pkgconfig_variable('udevdir'), 'rules.d') + udevrulesdir = join_paths(udev.get_variable(pkgconfig : 'udevdir'), 'rules.d') endif meson.add_install_script('install_helper.sh', |