cmake: Silence warnings.

This commit is contained in:
orbea
2020-09-08 20:24:34 -07:00
parent 67761c7d31
commit 2bfbc4d79f
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

View File

@ -635,7 +635,7 @@ if(CMAKE_SYSTEM_NAME MATCHES "Linux")
option(ENABLE_BLUEZ "Enables bluetooth support" ON)
if(ENABLE_BLUEZ)
find_package(BlueZ)
if(BLUEZ_FOUND)
if(BlueZ_FOUND)
message(STATUS "BlueZ found, enabling bluetooth support")
target_sources(core PRIVATE
HW/WiimoteReal/IOLinux.cpp