diff options
author | Michel Ganguin <michel@ganguin.net> | 2018-08-02 09:36:47 +0200 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-08-02 08:36:47 +0100 |
commit | d6095588a143710d25be47577ea65517770e7a74 (patch) | |
tree | 7347f317f47a67dcc1ae20716948a59cd35f2bb3 /sway | |
parent | fe39129b96794032c396411f96f2eb016050a545 (diff) |
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 'sway')
-rw-r--r-- | sway/meson.build | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sway/meson.build b/sway/meson.build index d92bb905..a9503c3b 100644 --- a/sway/meson.build +++ b/sway/meson.build @@ -153,10 +153,6 @@ sway_sources = files( 'tree/output.c', ) -if get_option('enable-xwayland') - sway_sources += 'desktop/xwayland.c' -endif - sway_deps = [ cairo, gdk_pixbuf, @@ -170,10 +166,14 @@ sway_deps = [ server_protos, wayland_server, wlroots, - xcb, xkbcommon, ] +if get_option('enable-xwayland') + sway_sources += 'desktop/xwayland.c' + sway_deps += xcb +endif + executable( 'sway', sway_sources, |