[commit] r2192 - enable ALSA MIDI support when libasound and asoundlib.h are present

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[commit] r2192 - enable ALSA MIDI support when libasound and asoundlib.h are present

commits-3
 
Author: piumarta
Date: 2010-04-11 13:23:35 -0700 (Sun, 11 Apr 2010)
New Revision: 2192

Added:
   trunk/platforms/unix/plugins/MIDIPlugin/config.cmake
Log:
enable ALSA MIDI support when libasound and asoundlib.h are present

Added: trunk/platforms/unix/plugins/MIDIPlugin/config.cmake
===================================================================
--- trunk/platforms/unix/plugins/MIDIPlugin/config.cmake                        (rev 0)
+++ trunk/platforms/unix/plugins/MIDIPlugin/config.cmake 2010-04-11 20:23:35 UTC (rev 2192)
@@ -0,0 +1,6 @@
+PLUGIN_REQUIRE_INCLUDE (ALSA_SOUNDLIB alsa/asoundlib.h)
+PLUGIN_REQUIRE_LIBRARY (ASOUND asound)
+IF (HAVE_ALSA_SOUNDLIB_H AND HAVE_LIBASOUND)
+  SET (USE_MIDI_ALSA 1)
+  CONFIG_DEFINE (USE_MIDI_ALSA)
+ENDIF ()