mirror of
https://github.com/swaywm/sway.git
synced 2025-11-16 06:59:49 -05:00
Merge pull request #3452 from emersion/meson-features
Use Meson feature options
This commit is contained in:
commit
639b66b676
7 changed files with 31 additions and 44 deletions
|
|
@ -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
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue