mirror of
https://github.com/swaywm/sway.git
synced 2025-11-24 06:59:51 -05:00
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"
This commit is contained in:
parent
fe39129b96
commit
d6095588a1
2 changed files with 6 additions and 6 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue