summaryrefslogtreecommitdiffstats
path: root/src/gui/image/qjpeghandler.pri
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/image/qjpeghandler.pri')
-rw-r--r--src/gui/image/qjpeghandler.pri6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/image/qjpeghandler.pri b/src/gui/image/qjpeghandler.pri
index 3cb35c95ed..c8de33d8b4 100644
--- a/src/gui/image/qjpeghandler.pri
+++ b/src/gui/image/qjpeghandler.pri
@@ -3,8 +3,10 @@ INCLUDEPATH *= $$PWD
HEADERS += $$PWD/qjpeghandler_p.h
SOURCES += $$PWD/qjpeghandler.cpp
contains(QT_CONFIG, system-jpeg) {
- if(unix|win32-g++*): LIBS += -ljpeg
- else:win32: LIBS += libjpeg.lib
+ msvc: \
+ LIBS += libjpeg.lib
+ else: \
+ LIBS += -ljpeg
} else {
include($$PWD/../../3rdparty/libjpeg.pri)
}