fix(Meson): optional sway

This commit is contained in:
Alexis 2018-09-10 11:00:53 +02:00
parent de5df09fcd
commit f78ef0d491
No known key found for this signature in database
GPG Key ID: 20B1EC2EBBA96BD9
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ src_files = files(
'src/client.cpp' 'src/client.cpp'
) )
if find_program('sway').found() if find_program('sway', required : false).found()
add_project_arguments('-DHAVE_SWAY', language: 'cpp') add_project_arguments('-DHAVE_SWAY', language: 'cpp')
src_files += [ src_files += [
'src/modules/sway/ipc/client.cpp', 'src/modules/sway/ipc/client.cpp',