Merge pull request #3452 from emersion/meson-features

Use Meson feature options
This commit is contained in:
Drew DeVault 2019-01-18 15:39:07 -05:00 committed by GitHub
commit 639b66b676
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 31 additions and 44 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
@ -205,6 +205,5 @@ executable(
include_directories: [sway_inc],
dependencies: sway_deps,
link_with: [lib_sway_common],
install_rpath : rpathdir,
install: true
)