Build store.c only with the kanshi feature

This commit is contained in:
Mars-Wave
2026-02-02 23:02:11 +01:00
parent 2b6328c3a6
commit a7406b7ce0
+15 -10
View File
@@ -11,18 +11,23 @@ epoxy = dependency('epoxy')
configure_file(input: 'config.h.in', output: 'config.h', configuration: conf)
sources = [
'main.c',
'glviewport.c',
'headform.c',
'outputs.c',
'overlay.c',
'render.c',
resources,
]
if get_option('kanshi').allowed()
sources += 'store.c'
endif
executable(
'wdisplays',
[
'main.c',
'glviewport.c',
'headform.c',
'outputs.c',
'overlay.c',
'render.c',
'store.c',
resources,
],
sources,
dependencies : [
m_dep,
rt_dep,