mirror of
https://git.freebsd.org/ports.git
synced 2025-07-07 04:19:17 -04:00
30 lines
962 B
Text
30 lines
962 B
Text
--- src/CMakeLists.txt.orig 2012-08-16 04:01:13 UTC
|
|
+++ src/CMakeLists.txt
|
|
@@ -47,6 +47,11 @@ if ( PULSE_SUPPORT )
|
|
include_directories ( ${PULSE_INCLUDEDIR} ${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_INCLUDEDIR} ${ALSA_INCLUDE_DIRS} )
|
|
@@ -244,6 +249,7 @@ add_library ( libfluidsynth
|
|
${fluid_oss_SOURCES}
|
|
${fluid_portaudio_SOURCES}
|
|
${fluid_pulse_SOURCES}
|
|
+ ${fluid_sndio_SOURCES}
|
|
${fluid_windows_SOURCES}
|
|
${libfluidsynth_SOURCES}
|
|
${public_HEADERS}
|
|
@@ -286,6 +292,7 @@ target_link_libraries ( libfluidsynth
|
|
${JACK_LIBRARIES}
|
|
${ALSA_LIBRARIES}
|
|
${PULSE_LIBRARIES}
|
|
+ ${SNDIO_LIBRARIES}
|
|
${PORTAUDIO_LIBRARIES}
|
|
${LIBSNDFILE_LIBRARIES}
|
|
${DBUS_LIBRARIES}
|