Merge pull request #752 from spk/remove-if-meson

chore: always include sway module
This commit is contained in:
Alex 2020-06-24 18:21:29 +02:00 committed by GitHub
commit 5662f80c43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -155,15 +155,13 @@ elif is_dragonfly or is_freebsd or is_netbsd or is_openbsd
)
endif
if true # find_program('sway', required : false).found()
add_project_arguments('-DHAVE_SWAY', language: 'cpp')
src_files += [
add_project_arguments('-DHAVE_SWAY', language: 'cpp')
src_files += [
'src/modules/sway/ipc/client.cpp',
'src/modules/sway/mode.cpp',
'src/modules/sway/window.cpp',
'src/modules/sway/workspaces.cpp'
]
endif
]
if true
add_project_arguments('-DHAVE_WLR', language: 'cpp')