mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
fix(Meson): optional sway
This commit is contained in:
parent
de5df09fcd
commit
f78ef0d491
@ -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',
|
||||||
|
Loading…
Reference in New Issue
Block a user