build: add Meson subproject fallback for wayland-protocols
This allows building swaylock with a local wayland-protocols.
This commit is contained in:
parent
386f8f4241
commit
978ce49894
@ -36,7 +36,7 @@ if is_freebsd
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
wayland_client = dependency('wayland-client')
|
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')
|
xkbcommon = dependency('xkbcommon')
|
||||||
cairo = dependency('cairo')
|
cairo = dependency('cairo')
|
||||||
gdk_pixbuf = dependency('gdk-pixbuf-2.0', required: get_option('gdk-pixbuf'))
|
gdk_pixbuf = dependency('gdk-pixbuf-2.0', required: get_option('gdk-pixbuf'))
|
||||||
|
Loading…
Reference in New Issue
Block a user