aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Effect/soxr
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/Effect/soxr')
-rw-r--r--src/plugins/Effect/soxr/soxr.pro25
1 files changed, 16 insertions, 9 deletions
diff --git a/src/plugins/Effect/soxr/soxr.pro b/src/plugins/Effect/soxr/soxr.pro
index 4421d8287..3c703bbbf 100644
--- a/src/plugins/Effect/soxr/soxr.pro
+++ b/src/plugins/Effect/soxr/soxr.pro
@@ -12,21 +12,28 @@ TARGET=$$PLUGINS_PREFIX/Effect/soxr
QMAKE_CLEAN =$$PLUGINS_PREFIX/Effect/libsoxr.so
INCLUDEPATH += ../../../
CONFIG += warn_on \
-plugin \
-link_pkgconfig
+plugin
-PKGCONFIG += soxr
TEMPLATE = lib
-QMAKE_LIBDIR += ../../../../lib
-LIBS += -lqmmp -L/usr/lib -I/usr/include
RESOURCES = translations/translations.qrc
-isEmpty(LIB_DIR){
- LIB_DIR = /lib
+unix {
+ isEmpty(LIB_DIR){
+ LIB_DIR = /lib
+ }
+ target.path = $$LIB_DIR/qmmp/Effect
+ INSTALLS += target
+ CONFIG += link_pkgconfig
+ PKGCONFIG += soxr
+ QMAKE_LIBDIR += ../../../../lib
+ LIBS += -lqmmp -L/usr/lib -I/usr/include
+}
+
+win32 {
+ QMAKE_LIBDIR += ../../../../bin
+ LIBS += -lqmmp0 -lsoxr
}
-target.path = $$LIB_DIR/qmmp/Effect
-INSTALLS += target
FORMS += settingsdialog.ui