1
0
Fork 0

build: Use find_program().full_path()

`find_program().path()` was deprecated in Meson 0.55, but we depend on
Meson 0.60.

This helps fix the build with `--fatal-meson-warnings`.

Signed-off-by: Philip Withnall <pwithnall@gnome.org>
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3640>
This commit is contained in:
Philip Withnall 2024-03-04 16:51:30 +00:00 committed by Marge Bot
parent d1bc9028c5
commit 22b8af263b

View file

@ -574,7 +574,7 @@ if have_xwayland
if xwayland_dep.found()
xwayland_path = xwayland_dep.get_variable('xwayland')
else
xwayland_path = find_program('Xwayland').path()
xwayland_path = find_program('Xwayland').full_path()
endif
endif
cdata.set_quoted('XWAYLAND_PATH', xwayland_path)