Use Meson feature options

This commit is contained in:
emersion 2019-01-17 18:02:25 +01:00
parent 5a0c4234b8
commit 08a5b304e4
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
4 changed files with 17 additions and 11 deletions

View file

@ -194,7 +194,7 @@ sway_deps = [
xkbcommon,
]
if get_option('enable-xwayland')
if have_xwayland
sway_sources += 'desktop/xwayland.c'
sway_deps += xcb
endif