Merge pull request #9071 from orbea/cmake

cmake: Silence warnings.
This commit is contained in:
Léo Lam
2020-10-26 18:48:42 +01:00
committed by GitHub
11 changed files with 13 additions and 12 deletions

View File

@ -49,7 +49,7 @@ if(ENABLE_PULSEAUDIO)
# PulseAudio ships with a PulseAudioConfig.cmake with no imported target
# So we use our own FindPulseAudio instead with "MODULE"
find_package(PulseAudio MODULE QUIET)
if(PULSEAUDIO_FOUND)
if(PulseAudio_FOUND)
message(STATUS "PulseAudio found, enabling PulseAudio sound backend")
target_sources(audiocommon PRIVATE
PulseAudioStream.cpp