From 732ce7a27cbeb47fb3566768789c14d3123bb06c Mon Sep 17 00:00:00 2001 From: Laurent Arnoud Date: Wed, 24 Jun 2020 13:28:27 +0200 Subject: [PATCH] chore: always include sway module --- meson.build | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) 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')