From 55aaeb25c57630add817524b579c3f05a805c09d Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 6 Apr 2021 12:06:05 +0200 Subject: [PATCH] build: use get_variable instead of get_pkgconfig_variable This fixes the following warning: WARNING: Project targeting '>=0.56.0' but tried to use feature deprecated since '0.56.0': Dependency.get_pkgconfig_variable. use Dependency.get_variable(pkgconfig : ...) instead --- include/xwayland/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/xwayland/meson.build b/include/xwayland/meson.build index 37ddf4ca..0e26ee35 100644 --- a/include/xwayland/meson.build +++ b/include/xwayland/meson.build @@ -1,7 +1,7 @@ have_listenfd = false if xwayland.found() - xwayland_path = xwayland.get_pkgconfig_variable('xwayland') - have_listenfd = xwayland.get_pkgconfig_variable('have_listenfd') == 'true' + xwayland_path = xwayland.get_variable(pkgconfig: 'xwayland') + have_listenfd = xwayland.get_variable(pkgconfig: 'have_listenfd') == 'true' else xwayland_path = xwayland_prog.full_path() endif