build: Replace deprecated get_pkgconfig_variable()

Use get_variable(pkgconfig:...) instead.
This commit is contained in:
Emmanuele Bassi
2022-12-06 20:45:58 +00:00
parent e95f0aa73b
commit ca1dfc7092
4 changed files with 6 additions and 6 deletions

View File

@ -38,7 +38,7 @@ gdk_wayland_deps = [
# wayland protocols
wlprotocolsdep = dependency('wayland-protocols')
proto_dir = wlprotocolsdep.get_pkgconfig_variable('pkgdatadir')
proto_dir = wlprotocolsdep.get_variable(pkgconfig: 'pkgdatadir')
assert(proto_dir != '', 'Could not get pkgdatadir from wayland-protocols.pc')
wayland_scanner = find_program('wayland-scanner')