ports/audio/fluidsynth/files/patch-src_CMakeLists.txt
Thomas Zander 9cdfc5987e Update to upstream version 2.0.3
While on it:
- Pet portlint

PR:		233448
Submitted by:	yuri
Reviewed by:	tobik
2019-03-02 16:46:58 +00:00

30 lines
940 B
Text

--- src/CMakeLists.txt.orig 2018-12-30 11:42:00 UTC
+++ src/CMakeLists.txt
@@ -50,6 +50,11 @@ if ( PULSE_SUPPORT )
include_directories ( ${PULSE_INCLUDE_DIRS} )
endif ( PULSE_SUPPORT )
+if ( SNDIO_SUPPORT )
+ set ( fluid_sndio_SOURCES drivers/fluid_sndio.c )
+ set ( SNDIO_LIBRARIES sndio )
+endif ( SNDIO_SUPPORT )
+
if ( ALSA_SUPPORT )
set ( fluid_alsa_SOURCES drivers/fluid_alsa.c )
include_directories ( ${ALSA_INCLUDE_DIRS} )
@@ -247,6 +252,7 @@ add_library ( libfluidsynth-OBJ OBJECT
${fluid_oss_SOURCES}
${fluid_portaudio_SOURCES}
${fluid_pulse_SOURCES}
+ ${fluid_sndio_SOURCES}
${fluid_dsound_SOURCES}
${fluid_winmidi_SOURCES}
${libfluidsynth_SOURCES}
@@ -314,6 +320,7 @@ target_link_libraries ( libfluidsynth
${JACK_LIBRARIES}
${ALSA_LIBRARIES}
${PULSE_LIBRARIES}
+ ${SNDIO_LIBRARIES}
${PORTAUDIO_LIBRARIES}
${LIBSNDFILE_LIBRARIES}
${DBUS_LIBRARIES}