fix cmake hacks
This commit is contained in:
parent
488a679ca7
commit
5c371549d3
|
@ -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")
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue