aboutsummaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
authorLibravatar Pascal Pascher <aur@clouddrop.de>2018-07-24 22:16:06 +0200
committerLibravatar Pascal Pascher <aur@clouddrop.de>2018-07-24 22:16:06 +0200
commit24ad1c3983192b47345566fd876e26b45160d68e (patch)
treeb617f8d15cb20897b1c016fb67fab80d7245c66a /meson.build
parentMerge pull request #2165 from swaywm/pid-workspaces (diff)
downloadsway-24ad1c3983192b47345566fd876e26b45160d68e.tar.gz
sway-24ad1c3983192b47345566fd876e26b45160d68e.tar.zst
sway-24ad1c3983192b47345566fd876e26b45160d68e.zip
Added meson option "enable_xwayland" (default: true) to enable/disable xwayland support
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 1d40581a..a2def755 100644
--- a/meson.build
+++ b/meson.build
@@ -48,6 +48,12 @@ git = find_program('git', required: false)
48 48
49conf_data = configuration_data() 49conf_data = configuration_data()
50 50
51if get_option('enable-xwayland')
52 conf_data.set('HAVE_XWAYLAND', true)
53else
54 conf_data.set('HAVE_XWAYLAND', false)
55endif
56
51if gdk_pixbuf.found() 57if gdk_pixbuf.found()
52 conf_data.set('HAVE_GDK_PIXBUF', true) 58 conf_data.set('HAVE_GDK_PIXBUF', true)
53endif 59endif