diff options
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/meson.build b/meson.build index 8776e76..2bd56a6 100644 --- a/meson.build +++ b/meson.build @@ -122,6 +122,14 @@ xkbcommon = dependency('xkbcommon') glib = dependency('glib-2.0') gio_unix = dependency('gio-unix-2.0') +if wayland_client.version().version_compare('<1.20.0') + add_project_arguments( + ['-DNO_WL_OUTPUT_NAME=1'], + language: 'c' + ) +endif + + # Generate the necessary Wayland headers / sources with wayland-scanner wayland_scanner = find_program( |