d08a087ea4
PR: 212838 Submitted by: t@tobik.me
22 lines
980 B
Text
22 lines
980 B
Text
--- CMakeLists.txt.orig 2012-08-16 04:01:13 UTC
|
|
+++ CMakeLists.txt
|
|
@@ -61,6 +61,7 @@ option ( enable-debug "enable debugging
|
|
option ( enable-libsndfile "compile libsndfile support (if it is available)" on )
|
|
option ( enable-aufile "compile support for sound file output" 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-jack "compile JACK support (if it is available)" on )
|
|
option ( enable-midishare "compile MidiShare support (if it is available)" on )
|
|
option ( enable-readline "compile readline lib line editing (if it is available)" on )
|
|
@@ -313,6 +314,11 @@ else ( enable-pulseaudio )
|
|
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 )
|