aboutsummaryrefslogtreecommitdiff
path: root/qmidiplayer-lite
diff options
context:
space:
mode:
Diffstat (limited to 'qmidiplayer-lite')
-rw-r--r--qmidiplayer-lite/qmidiplayer-lite.pro9
1 files changed, 8 insertions, 1 deletions
diff --git a/qmidiplayer-lite/qmidiplayer-lite.pro b/qmidiplayer-lite/qmidiplayer-lite.pro
index 7ee4771..1534d53 100644
--- a/qmidiplayer-lite/qmidiplayer-lite.pro
+++ b/qmidiplayer-lite/qmidiplayer-lite.pro
@@ -22,12 +22,19 @@ HEADERS += \
../core/qmpmidiplay.hpp \
qmpcorewrapper.hpp \
../core/qmpmidimappers.hpp \
- ../include/qmpcorepublic.hpp
+ ../include/qmpcorepublic.hpp
unix{
LIBS += -lfluidsynth -lrtmidi
+exists("/usr/include/RtMidi.h") {
+ DEFINES += RT_MIDI_H=\\\"/usr/include/RtMidi.h\\\"
+}
+exists("/usr/include/rtmidi/RtMidi.h") {
+ DEFINES += RT_MIDI_H=\\\"/usr/include/rtmidi/RtMidi.h\\\"
+}
}
win32{
+ DEFINES += RT_MIDI_H=\\\"RtMidi.h\\\"
#change these before building...
LIBS += e:/libs/fluidsynth/fluidsynth.lib winmm.lib
Release:LIBS += e:/libs/rtmidi/rtmidi.lib