summaryrefslogtreecommitdiff
path: root/comms/multimon-ng/files/patch-CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'comms/multimon-ng/files/patch-CMakeLists.txt')
-rw-r--r--comms/multimon-ng/files/patch-CMakeLists.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/comms/multimon-ng/files/patch-CMakeLists.txt b/comms/multimon-ng/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..c2575c362558
--- /dev/null
+++ b/comms/multimon-ng/files/patch-CMakeLists.txt
@@ -0,0 +1,12 @@
+--- CMakeLists.txt.orig 2015-11-09 12:57:23 UTC
++++ CMakeLists.txt
+@@ -48,7 +48,8 @@ endif( X11_SUPPORT )
+
+ if( PULSE_AUDIO_SUPPORT )
+ include_directories( ${PULSEAUDIO_INCLUDE_DIR} )
+- link_libraries( ${PULSEAUDIO_LIBRARY} "-lpulse-simple" )
++ find_library( PULSE_SIMPLE NAMES pulse-simple REQUIRED )
++ link_libraries( ${PULSEAUDIO_LIBRARY} ${PULSE_SIMPLE} )
+ add_definitions( "-DPULSE_AUDIO" )
+ else( PULSE_AUDIO_SUPPORT )
+ add_definitions( "-DDUMMY_AUDIO" )