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
This commit is contained in:
Simon Ser 2021-04-06 12:06:05 +02:00
parent 6721444114
commit 55aaeb25c5
1 changed files with 2 additions and 2 deletions

View File

@ -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