meson: add subproject fallback for libxcvt
Depends on: https://gitlab.freedesktop.org/xorg/lib/libxcvt/-/merge_requests/6 Signed-off-by: Simon Ser <contact@emersion.fr>
This commit is contained in:
parent
43452690df
commit
2df3a62c66
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue