diff options
author | 2018-07-25 08:27:40 -0400 | |
---|---|---|
committer | 2018-07-25 08:27:40 -0400 | |
commit | fc718f629af231f8a0ae795b2f7529e213cab183 (patch) | |
tree | 7917aadbfb09d02d3d60045f0ba8d5028f0c4bb4 /meson.build | |
parent | Merge pull request #2354 from RyanDwyer/fix-crash-on-tab-reap (diff) | |
parent | more style fixes, reorder config.h include (diff) | |
download | sway-fc718f629af231f8a0ae795b2f7529e213cab183.tar.gz sway-fc718f629af231f8a0ae795b2f7529e213cab183.tar.zst sway-fc718f629af231f8a0ae795b2f7529e213cab183.zip |
Merge pull request #2350 from ppascher/xwayland-optional
Added meson option to allow building sway without xwayland support
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meson.build b/meson.build index 1d40581a..06299618 100644 --- a/meson.build +++ b/meson.build | |||
@@ -48,6 +48,12 @@ git = find_program('git', required: false) | |||
48 | 48 | ||
49 | conf_data = configuration_data() | 49 | conf_data = configuration_data() |
50 | 50 | ||
51 | if get_option('enable-xwayland') | ||
52 | conf_data.set('HAVE_XWAYLAND', true) | ||
53 | else | ||
54 | conf_data.set('HAVE_XWAYLAND', false) | ||
55 | endif | ||
56 | |||
51 | if gdk_pixbuf.found() | 57 | if gdk_pixbuf.found() |
52 | conf_data.set('HAVE_GDK_PIXBUF', true) | 58 | conf_data.set('HAVE_GDK_PIXBUF', true) |
53 | endif | 59 | endif |