Hack for recent versions of meson

It seems like since meson 0.55.0, subprojects with name separators don't
work at all (they were causing a warning before).

This is a quick dirty fix, until we fix this upstream.

Fixes #2
This commit is contained in:
lbonn 2020-07-27 18:49:36 +02:00
parent a9c0975ebf
commit 498fd2fc00
3 changed files with 4 additions and 2 deletions

View file

@ -53,7 +53,7 @@ deps = [
# XCB stuff
deps += [
subproject('libgwater/xcb').get_variable('libgwater_xcb'),
subproject('libgwater-xcb').get_variable('libgwater_xcb'),
dependency('xcb-aux'),
dependency('xcb-xkb'),
dependency('xkbcommon-x11'),
@ -73,7 +73,7 @@ if wayland_client.found()
deps += wayland_client
deps += wayland_protocols
deps += wayland_cursor
deps += subproject('libgwater/wayland').get_variable('libgwater_wayland')
deps += subproject('libgwater-wayland').get_variable('libgwater_wayland')
endif
check = dependency('check', version: '>= 0.11.0', required: get_option('check'))

View file

@ -0,0 +1 @@
libgwater/wayland

1
subprojects/libgwater-xcb Symbolic link
View file

@ -0,0 +1 @@
libgwater/xcb