aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Visual/projectm/projectm.pro
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2014-02-09 10:11:37 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2014-02-09 10:11:37 +0000
commitd81a31df5bc58994a151a53074b739589c21a28b (patch)
tree90ae95d6ea531453d04a5aef638fe252e0590888 /src/plugins/Visual/projectm/projectm.pro
parent9dd681456966f54dd71bb8804520d99f22c7dba7 (diff)
downloadqmmp-d81a31df5bc58994a151a53074b739589c21a28b.tar.gz
qmmp-d81a31df5bc58994a151a53074b739589c21a28b.tar.bz2
qmmp-d81a31df5bc58994a151a53074b739589c21a28b.zip
projectm plugin: added mingw support
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@4067 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Visual/projectm/projectm.pro')
-rw-r--r--src/plugins/Visual/projectm/projectm.pro32
1 files changed, 17 insertions, 15 deletions
diff --git a/src/plugins/Visual/projectm/projectm.pro b/src/plugins/Visual/projectm/projectm.pro
index be61693f2..8cd6b7bd3 100644
--- a/src/plugins/Visual/projectm/projectm.pro
+++ b/src/plugins/Visual/projectm/projectm.pro
@@ -18,8 +18,6 @@ CONFIG += warn_on \
plugin \
link_pkgconfig
-PKGCONFIG += libprojectM
-
TEMPLATE = lib
QMAKE_LIBDIR += ../../../../lib
QT += opengl
@@ -41,19 +39,23 @@ TRANSLATIONS = translations/projectm_plugin_cs.ts \
translations/projectm_plugin_sr_RS.ts
RESOURCES = translations/translations.qrc
-isEmpty(LIB_DIR){
- LIB_DIR = /lib
+unix {
+ PKGCONFIG += libprojectM
+ isEmpty(LIB_DIR):LIB_DIR = /lib
+ target.path = $$LIB_DIR/qmmp/Visual
+ INSTALLS += target
+ #projectM config path
+ PROJECTM_CONFIG_FILES = /usr/share/projectM/config.inp \
+ /usr/local/share/projectM/config.inp
+ for(path, PROJECTM_CONFIG_FILES) {
+ exists($$path) {
+ message ("found projectm configuration: "$$path)
+ DEFINES += PROJECTM_CONFIG=\\\"$$path\\\"
+ }
+ }
}
-target.path = $$LIB_DIR/qmmp/Visual
-INSTALLS += target
-#projectM config path
-PROJECTM_CONFIG_FILES = /usr/share/projectM/config.inp \
- /usr/local/share/projectM/config.inp
-
-for(path, PROJECTM_CONFIG_FILES) {
- exists($$path) {
- message ("found projectm configuration: "$$path)
- DEFINES += PROJECTM_CONFIG=\\\"$$path\\\"
- }
+win32 {
+ QMAKE_LIBDIR += ../../../../bin
+ LIBS += -lqmmp0 -lprojectM.dll
}