From 5c371549d319ae125fcfa6278e2ac569b21c0f78 Mon Sep 17 00:00:00 2001 From: Jordan Woyak Date: Wed, 9 Jan 2013 18:39:28 -0600 Subject: [PATCH] fix cmake hacks --- CMakeLists.txt | 2 +- Source/Core/AudioCommon/CMakeLists.txt | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5f36e1f8a2..4b0d5c42dc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -289,7 +289,7 @@ else() message("bluez NOT found, disabling bluetooth support") endif(BLUEZ_FOUND) -check_lib(PULSEAUDIO libpulse QUIET) +check_lib(PULSEAUDIO libpulse-simple QUIET) if(PULSEAUDIO_FOUND) add_definitions(-DHAVE_PULSEAUDIO=1) message("PulseAudio found, enabling PulseAudio sound backend") diff --git a/Source/Core/AudioCommon/CMakeLists.txt b/Source/Core/AudioCommon/CMakeLists.txt index b2005515cf..be8c58d14a 100644 --- a/Source/Core/AudioCommon/CMakeLists.txt +++ b/Source/Core/AudioCommon/CMakeLists.txt @@ -23,8 +23,7 @@ endif(OPENAL_FOUND) if(PULSEAUDIO_FOUND) set(SRCS ${SRCS} Src/PulseAudioStream.cpp) -# TODO: remove hacks - set(LIBS ${LIBS} ${PULSEAUDIO_LIBRARIES} pulse-simple) + set(LIBS ${LIBS} ${PULSEAUDIO_LIBRARIES}) endif(PULSEAUDIO_FOUND) if(WIN32)