diff --git a/meson.build b/meson.build index b330dfed..1833440c 100644 --- a/meson.build +++ b/meson.build @@ -51,7 +51,7 @@ src_files = files( 'src/client.cpp' ) -if find_program('sway').found() +if find_program('sway', required : false).found() add_project_arguments('-DHAVE_SWAY', language: 'cpp') src_files += [ 'src/modules/sway/ipc/client.cpp',