chore: always include sway module

pull/752/head
Laurent Arnoud 2020-06-24 13:28:27 +02:00
parent fa6bf597cf
commit 732ce7a27c
No known key found for this signature in database
GPG Key ID: A79DAB2374F95DD5
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
if true # find_program('sway', required : false).found()
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
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'
]
if true
add_project_arguments('-DHAVE_WLR', language: 'cpp')