diff options
author | Simon Ser <contact@emersion.fr> | 2021-06-25 16:24:22 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-06-30 13:37:00 +0200 |
commit | 5f3773f21e3828f87f4e72b0dcb3b8a362024463 (patch) | |
tree | 9d396606c0bbcca9c0004e1081a34a6797b86ca2 /protocols | |
parent | 8348178c66c3c2e398013a745365b36636222c52 (diff) |
build: use Dependency.get_variable instead of get_pkgconfig_variable
Dependency.get_pkgconfig_variable has been deprecated.
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/meson.build | 4 |
1 files changed, 2 insertions, 2 deletions
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 |