Skip to content

Commit

Permalink
fix: avoid compiling audio_backend if pulse is not available
Browse files Browse the repository at this point in the history
  • Loading branch information
Syndelis committed Oct 15, 2023
1 parent ecbcf24 commit 9d316de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,7 @@ src_files = files(
'src/util/sanitize_str.cpp',
'src/util/rewrite_string.cpp',
'src/util/gtk_icon.cpp',
'src/util/regex_collection.cpp',
'src/util/audio_backend.cpp'
'src/util/regex_collection.cpp'
)

inc_dirs = ['include']
Expand Down Expand Up @@ -276,6 +275,7 @@ if libpulse.found()
add_project_arguments('-DHAVE_LIBPULSE', language: 'cpp')
src_files += 'src/modules/pulseaudio.cpp'
src_files += 'src/modules/pulseaudio_slider.cpp'
src_files += 'src/util/audio_backend.cpp'
endif

if libjack.found()
Expand Down

0 comments on commit 9d316de

Please sign in to comment.