diff --git a/meson.build b/meson.build index 8d6dc168..3647fbbe 100644 --- a/meson.build +++ b/meson.build @@ -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')