Skip to content

Commit 34bfefc

Browse files
committed
niri: Gate behind a meson option
1 parent fef0bb9 commit 34bfefc

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

meson.build

+1-1
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ if true
318318
)
319319
endif
320320

321-
if true
321+
if get_option('niri')
322322
add_project_arguments('-DHAVE_NIRI', language: 'cpp')
323323
src_files += files(
324324
'src/modules/niri/backend.cpp',

meson_options.txt

+1
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@ option('experimental', type : 'boolean', value : false, description: 'Enable exp
1919
option('jack', type: 'feature', value: 'auto', description: 'Enable support for JACK')
2020
option('wireplumber', type: 'feature', value: 'auto', description: 'Enable support for WirePlumber')
2121
option('cava', type: 'feature', value: 'auto', description: 'Enable support for Cava')
22+
option('niri', type: 'boolean', description: 'Enable support for niri')

0 commit comments

Comments
 (0)