aboutsummaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build6
1 files changed, 6 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 9560504f..ed0bf4a0 100644
--- a/meson.build
+++ b/meson.build
@@ -170,6 +170,12 @@ else
fractional_scale = false
endif
+# TODO: check wayland-protocols version
+wl_proto_xml += [wayland_protocols_datadir + '/unstable/tablet/tablet-unstable-v2.xml', # required by cursor-shape-v1
+ 'cursor-shape-v1.xml', # TODO: use wayland-protocols
+ ]
+add_project_arguments('-DHAVE_CURSOR_SHAPE', language: 'c')
+
foreach prot : wl_proto_xml
wl_proto_headers += custom_target(
prot.underscorify() + '-client-header',