fix(Meson): optional sway
parent
de5df09fcd
commit
f78ef0d491
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue