mirror of
https://git.freebsd.org/ports.git
synced 2025-07-07 04:19:17 -04:00
PR: 228265 Submitted by: takefu@airport.fm Reviewed by: riggs Approved by: multimedia@ (riggs)
22 lines
911 B
Text
22 lines
911 B
Text
--- CMakeLists.txt.orig 2018-05-06 07:05:11 UTC
|
|
+++ CMakeLists.txt
|
|
@@ -68,6 +68,7 @@ option ( enable-midishare "compile MidiS
|
|
option ( enable-oss "compile OSS support (if it is available)" on )
|
|
option ( enable-pkgconfig "use pkg-config to locate fluidsynth's (mostly optional) dependencies" on )
|
|
option ( enable-pulseaudio "compile PulseAudio support (if it is available)" on )
|
|
+option ( enable-sndio "compile Sndio support (if it is available)" on )
|
|
option ( enable-readline "compile readline lib line editing (if it is available)" on )
|
|
|
|
# Platform specific options
|
|
@@ -358,6 +359,11 @@ else(NOT enable-pkgconfig)
|
|
unset_pkg_config ( PULSE )
|
|
endif ( enable-pulseaudio )
|
|
|
|
+ unset ( SNDIO_SUPPORT CACHE )
|
|
+ if ( enable-sndio )
|
|
+ set ( SNDIO_SUPPORT 1 )
|
|
+ endif ( enable-sndio )
|
|
+
|
|
unset ( ALSA_SUPPORT CACHE )
|
|
if ( enable-alsa )
|
|
pkg_check_modules ( ALSA alsa>=0.9.1 )
|