summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-12-20 16:42:00 +0100
committerSimon Ser <contact@emersion.fr>2022-02-02 15:30:45 +0100
commit978ce498940ad6739b30c12c8a24ade11a423b5f (patch)
tree05b5ed5c1ae93a4232dffc04b0f66b870809d378
parent386f8f424157e39ba5f24b1f64e6322105ec7bf4 (diff)
build: add Meson subproject fallback for wayland-protocols
This allows building swaylock with a local wayland-protocols.
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 2a44fee..fc1f61c 100644
--- a/meson.build
+++ b/meson.build
@@ -36,7 +36,7 @@ if is_freebsd
endif
wayland_client = dependency('wayland-client')
-wayland_protos = dependency('wayland-protocols', version: '>=1.14')
+wayland_protos = dependency('wayland-protocols', version: '>=1.14', fallback: 'wayland-protocols')
xkbcommon = dependency('xkbcommon')
cairo = dependency('cairo')
gdk_pixbuf = dependency('gdk-pixbuf-2.0', required: get_option('gdk-pixbuf'))