diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-05-14 12:23:19 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-05-14 12:23:19 +0000 |
| commit | 92e517ae34243d9c294e966221f5a4589684a9b5 (patch) | |
| tree | 2fb1774c2e62ada3c387b71e577bcee3c0960d63 /meson.build | |
| parent | Merge branch 'vt-anywhere-cleanup' (diff) | |
| parent | changeloge: xdg-activation support (diff) | |
Merge branch 'xdg-activation'
Closes #487
Diffstat (limited to 'meson.build')
| -rw-r--r-- | meson.build | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/meson.build b/meson.build index c36d7644..0c48929a 100644 --- a/meson.build +++ b/meson.build @@ -88,7 +88,7 @@ wscanner_prog = find_program( wl_proto_headers = [] wl_proto_src = [] -foreach prot : [ +wl_proto_xml = [ wayland_protocols_datadir + '/stable/xdg-shell/xdg-shell.xml', wayland_protocols_datadir + '/unstable/xdg-decoration/xdg-decoration-unstable-v1.xml', wayland_protocols_datadir + '/unstable/xdg-output/xdg-output-unstable-v1.xml', @@ -97,6 +97,12 @@ foreach prot : [ wayland_protocols_datadir + '/unstable/text-input/text-input-unstable-v3.xml', ] +if wayland_protocols.version().version_compare('>=1.21') + add_project_arguments('-DHAVE_XDG_ACTIVATION', language: 'c') + wl_proto_xml += [wayland_protocols_datadir + '/staging/xdg-activation/xdg-activation-v1.xml'] +endif + +foreach prot : wl_proto_xml wl_proto_headers += custom_target( prot.underscorify() + '-client-header', output: '@BASENAME@.h', |
