1 # - Try to find PortMidi
2 # Once done this will define
4 # PORTMIDI_FOUND - system has Portaudio
5 # PORTMIDI_INCLUDE_DIRS - the Portaudio include directory
6 # PORTMIDI_LIBRARIES - the Portaudio libraries
9 if(PORTMIDI_INCLUDE_DIRS AND PORTMIDI_LIBRARIES)
10 set(PORTMIDI_FOUND TRUE)
12 # Right now we only use PortMidi on Windows.
13 # When needed, implement finding it on other platforms.
14 set(PORTMIDI_FOUND FALSE)