From f78ef0d4919d25d1767dd4cc4bfb313d662b6d83 Mon Sep 17 00:00:00 2001 From: Alexis Date: Mon, 10 Sep 2018 11:00:53 +0200 Subject: [PATCH] fix(Meson): optional sway --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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',