SCDoc: Use proper static string constants instead of comparing string literals.
[supercollider.git] / cmake_modules / FindPortmidi.cmake
blob5bab1c3f31492b80ac6b9c9a1118032c41544313
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)
11 else()
12   # Right now we only use PortMidi on Windows.
13   # When needed, implement finding it on other platforms.
14   set(PORTMIDI_FOUND FALSE)
15 endif()