From 2216c996fa2ce4e2355af4df8a7ba3cfeddd940f Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Mon, 17 Mar 2014 11:25:42 +0000 Subject: enabled enca library support under win32 (Fixes issue 641) git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@4176 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Input/cue/cue.pro | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'src/plugins/Input/cue') diff --git a/src/plugins/Input/cue/cue.pro b/src/plugins/Input/cue/cue.pro index 626604c05..c8f205eec 100644 --- a/src/plugins/Input/cue/cue.pro +++ b/src/plugins/Input/cue/cue.pro @@ -21,16 +21,19 @@ TEMPLATE = lib unix{ QMAKE_LIBDIR += ../../../../lib LIBS += -lqmmp -L/usr/lib - contains(CONFIG, WITH_ENCA){ - CONFIG += link_pkgconfig - PKGCONFIG += enca - DEFINES += WITH_ENCA - } } win32{ QMAKE_LIBDIR += ../../../../bin - LIBS += -lqmmp0 + LIBS += -lqmmp0 +} + +contains(CONFIG, WITH_ENCA){ + CONFIG += link_pkgconfig + DEFINES += WITH_ENCA + unix:PKGCONFIG += enca + win32:LIBS += -lenca.dll + } TRANSLATIONS = translations/cue_plugin_ru.ts \ -- cgit v1.2.3-13-gbd6f