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
master
Simon Ser 4 years ago
parent 6721444114
commit 55aaeb25c5

@ -1,7 +1,7 @@
have_listenfd = false have_listenfd = false
if xwayland.found() if xwayland.found()
xwayland_path = xwayland.get_pkgconfig_variable('xwayland') xwayland_path = xwayland.get_variable(pkgconfig: 'xwayland')
have_listenfd = xwayland.get_pkgconfig_variable('have_listenfd') == 'true' have_listenfd = xwayland.get_variable(pkgconfig: 'have_listenfd') == 'true'
else else
xwayland_path = xwayland_prog.full_path() xwayland_path = xwayland_prog.full_path()
endif endif

Loading…
Cancel
Save