From 5f3773f21e3828f87f4e72b0dcb3b8a362024463 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Fri, 25 Jun 2021 16:24:22 +0200 Subject: build: use Dependency.get_variable instead of get_pkgconfig_variable Dependency.get_pkgconfig_variable has been deprecated. --- protocols/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/meson.build') diff --git a/protocols/meson.build b/protocols/meson.build index 124e9777..8c4ae0af 100644 --- a/protocols/meson.build +++ b/protocols/meson.build @@ -1,9 +1,9 @@ -wl_protocol_dir = wayland_protos.get_pkgconfig_variable('pkgdatadir') +wl_protocol_dir = wayland_protos.get_variable(pkgconfig: 'pkgdatadir') wayland_scanner_dep = dependency('wayland-scanner', required: false, native: true) if wayland_scanner_dep.found() wayland_scanner = find_program( - wayland_scanner_dep.get_pkgconfig_variable('wayland_scanner'), + wayland_scanner_dep.get_variable(pkgconfig: 'wayland_scanner'), native: true, ) else -- cgit v1.2.3