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

chore: always include sway module
pull/755/head
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
1 changed files with 7 additions and 9 deletions

View File

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