niri: Gate behind a meson option

This commit is contained in:
Ivan Molodetskikh
2024-09-13 10:33:50 +03:00
parent fef0bb995c
commit 34bfefcd2e
2 changed files with 2 additions and 1 deletions

View File

@ -318,7 +318,7 @@ if true
)
endif
if true
if get_option('niri')
add_project_arguments('-DHAVE_NIRI', language: 'cpp')
src_files += files(
'src/modules/niri/backend.cpp',