Skip to content

Commit

Permalink
Small check change
Browse files Browse the repository at this point in the history
  • Loading branch information
GhostNaN committed Oct 5, 2020
1 parent 1f51997 commit bb21b04
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 @@ -11,7 +11,7 @@ audio_check = false

pulse = dependency('libpulse', required : false)
pulse_simple = dependency('libpulse-simple', required : false)
if pulse.found()
if pulse.found() and pulse_simple.found()
add_project_arguments('-D PULSEAUDIO', language : 'c')
audio_check = true
endif
Expand All @@ -22,7 +22,7 @@ if portaudio.found()
audio_check = true
endif

assert(audio_check, 'You need PulseAudio or/and PortAudio')
assert(audio_check, 'You need PulseAudio and/or PortAudio')

#add_project_arguments('-D_FORTIFY_SOURCE=2', '-O2', language : 'cpp')

Expand Down

0 comments on commit bb21b04

Please sign in to comment.