niri: Gate behind a meson option
This commit is contained in:
parent
fef0bb995c
commit
34bfefcd2e
|
@ -318,7 +318,7 @@ if true
|
||||||
)
|
)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if true
|
if get_option('niri')
|
||||||
add_project_arguments('-DHAVE_NIRI', language: 'cpp')
|
add_project_arguments('-DHAVE_NIRI', language: 'cpp')
|
||||||
src_files += files(
|
src_files += files(
|
||||||
'src/modules/niri/backend.cpp',
|
'src/modules/niri/backend.cpp',
|
||||||
|
|
|
@ -19,3 +19,4 @@ option('experimental', type : 'boolean', value : false, description: 'Enable exp
|
||||||
option('jack', type: 'feature', value: 'auto', description: 'Enable support for JACK')
|
option('jack', type: 'feature', value: 'auto', description: 'Enable support for JACK')
|
||||||
option('wireplumber', type: 'feature', value: 'auto', description: 'Enable support for WirePlumber')
|
option('wireplumber', type: 'feature', value: 'auto', description: 'Enable support for WirePlumber')
|
||||||
option('cava', type: 'feature', value: 'auto', description: 'Enable support for Cava')
|
option('cava', type: 'feature', value: 'auto', description: 'Enable support for Cava')
|
||||||
|
option('niri', type: 'boolean', description: 'Enable support for niri')
|
||||||
|
|
Loading…
Reference in New Issue