fix cmake hacks

This commit is contained in:
Jordan Woyak 2013-01-09 18:39:28 -06:00
parent 488a679ca7
commit 5c371549d3
2 changed files with 2 additions and 3 deletions

View File

@ -289,7 +289,7 @@ else()
message("bluez NOT found, disabling bluetooth support") message("bluez NOT found, disabling bluetooth support")
endif(BLUEZ_FOUND) endif(BLUEZ_FOUND)
check_lib(PULSEAUDIO libpulse QUIET) check_lib(PULSEAUDIO libpulse-simple QUIET)
if(PULSEAUDIO_FOUND) if(PULSEAUDIO_FOUND)
add_definitions(-DHAVE_PULSEAUDIO=1) add_definitions(-DHAVE_PULSEAUDIO=1)
message("PulseAudio found, enabling PulseAudio sound backend") message("PulseAudio found, enabling PulseAudio sound backend")

View File

@ -23,8 +23,7 @@ endif(OPENAL_FOUND)
if(PULSEAUDIO_FOUND) if(PULSEAUDIO_FOUND)
set(SRCS ${SRCS} Src/PulseAudioStream.cpp) set(SRCS ${SRCS} Src/PulseAudioStream.cpp)
# TODO: remove hacks set(LIBS ${LIBS} ${PULSEAUDIO_LIBRARIES})
set(LIBS ${LIBS} ${PULSEAUDIO_LIBRARIES} pulse-simple)
endif(PULSEAUDIO_FOUND) endif(PULSEAUDIO_FOUND)
if(WIN32) if(WIN32)