From 2df3a62c66272c29299f7076c0f90a4f02b4d33e Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Fri, 22 Oct 2021 18:15:53 +0200 Subject: [PATCH] meson: add subproject fallback for libxcvt Depends on: https://gitlab.freedesktop.org/xorg/lib/libxcvt/-/merge_requests/6 Signed-off-by: Simon Ser --- meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index bc6aa1b01..7cb239b6d 100644 --- a/meson.build +++ b/meson.build @@ -194,7 +194,7 @@ if (host_machine.system() != 'darwin' and endif endif xorgsdkdir = join_paths(get_option('prefix'), get_option('includedir'), 'xorg') -libxcvt_dep = dependency('libxcvt', required: build_xorg) +libxcvt_dep = dependency('libxcvt', fallback: ['libxcvt', 'libxcvt_dep'], required: build_xorg) build_xwayland = false if (host_machine.system() != 'darwin' and @@ -211,7 +211,7 @@ if (host_machine.system() != 'darwin' and xwayland_dep = [ dependency('wayland-client', version: wayland_req, required: xwayland_required), dependency('wayland-protocols', version: wayland_protocols_req, required: xwayland_required), - dependency('libxcvt', required: xwayland_required), + dependency('libxcvt', fallback: ['libxcvt', 'libxcvt_dep'], required: xwayland_required), ] if build_glamor