diff options
Diffstat (limited to 'meson.build')
| -rw-r--r-- | meson.build | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 3b8b5ed6..64c09ab7 100644 --- a/meson.build +++ b/meson.build @@ -205,7 +205,14 @@ wayland_deps = [ ] have_wayland = wayland_deps[0].found() and wayland_deps[1].found() if have_wayland - xfw_dep = dependency('libxfce4windowing-0', version: '>= 4.19.0') + xfw_dep = dependency('libxfce4windowing-0', version: '>= 4.19.4', required: false) + if not xfw_dep.found() + if wayland_opt.enabled() + error('Wayland support requires libxfce4windowing-0 >= 4.19.4') + else + have_wayland = false + endif + endif endif config_h.set('HAVE_WAYLAND', have_wayland) |
