Commit 2df3a62c authored by Simon Ser's avatar Simon Ser Committed by Povilas Kanapickas
Browse files

meson: add subproject fallback for libxcvt

Depends on:
xorg/lib/libxcvt!6

Signed-off-by: Simon Ser's avatarSimon Ser <contact@emersion.fr>
parent 43452690
Pipeline #440984 passed with stages
in 2 minutes and 15 seconds
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment