aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Input/gme/gme.pro
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/Input/gme/gme.pro')
-rw-r--r--src/plugins/Input/gme/gme.pro31
1 files changed, 21 insertions, 10 deletions
diff --git a/src/plugins/Input/gme/gme.pro b/src/plugins/Input/gme/gme.pro
index a6602ee78..8013cc9d6 100644
--- a/src/plugins/Input/gme/gme.pro
+++ b/src/plugins/Input/gme/gme.pro
@@ -13,13 +13,7 @@ CONFIG += release \
warn_on \
plugin
TEMPLATE = lib
-QMAKE_LIBDIR += ../../../../lib
-LIBS += -lqmmp \
- -L/usr/lib \
- -L/usr/local/lib \
- -I/usr/include \
- -I/usr/local/include \
- -lgme
+
TRANSLATIONS = translations/gme_plugin_it.ts \
translations/gme_plugin_ru.ts \
translations/gme_plugin_cs.ts \
@@ -34,6 +28,23 @@ TRANSLATIONS = translations/gme_plugin_it.ts \
translations/gme_plugin_ja.ts
RESOURCES = translations/translations.qrc
-isEmpty (LIB_DIR):LIB_DIR = /lib
-target.path = $$LIB_DIR/qmmp/Input
-INSTALLS += target
+
+unix{
+ isEmpty (LIB_DIR):LIB_DIR = /lib
+ target.path = $$LIB_DIR/qmmp/Input
+ INSTALLS += target
+ QMAKE_LIBDIR += ../../../../lib
+ LIBS += -lqmmp \
+ -L/usr/lib \
+ -L/usr/local/lib \
+ -I/usr/include \
+ -I/usr/local/include \
+ -lgme
+}
+
+win32 {
+ HEADERS += ../../../../src/qmmp/metadatamodel.h \
+ ../../../../src/qmmp/decoderfactory.h
+ QMAKE_LIBDIR += ../../../../bin
+ LIBS += -lqmmp0 -lgme.dll
+}