summaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
authorLibravatar Michel Ganguin <michel@ganguin.net>2018-08-02 09:36:47 +0200
committerLibravatar emersion <contact@emersion.fr>2018-08-02 08:36:47 +0100
commitd6095588a143710d25be47577ea65517770e7a74 (patch)
tree7347f317f47a67dcc1ae20716948a59cd35f2bb3 /meson.build
parentMerge pull request #2396 from RyanDwyer/fix-resize-wiggle (diff)
downloadsway-d6095588a143710d25be47577ea65517770e7a74.tar.gz
sway-d6095588a143710d25be47577ea65517770e7a74.tar.zst
sway-d6095588a143710d25be47577ea65517770e7a74.zip
Link xcb dependency to meson options "enable_xwayland" (#2393)
* Link xcb dependency to meson options "enable_xwayland" * Link xcb dependency to meson options "enable_xwayland"
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 05d334d2..0d75978f 100644
--- a/meson.build
+++ b/meson.build
@@ -44,13 +44,13 @@ systemd = dependency('libsystemd', required: false)
44elogind = dependency('libelogind', required: false) 44elogind = dependency('libelogind', required: false)
45math = cc.find_library('m') 45math = cc.find_library('m')
46rt = cc.find_library('rt') 46rt = cc.find_library('rt')
47xcb = dependency('xcb')
48git = find_program('git', required: false) 47git = find_program('git', required: false)
49 48
50conf_data = configuration_data() 49conf_data = configuration_data()
51 50
52if get_option('enable-xwayland') 51if get_option('enable-xwayland')
53 conf_data.set('HAVE_XWAYLAND', true) 52 conf_data.set('HAVE_XWAYLAND', true)
53 xcb = dependency('xcb')
54else 54else
55 conf_data.set('HAVE_XWAYLAND', false) 55 conf_data.set('HAVE_XWAYLAND', false)
56endif 56endif