From e59409e9b39910f3cd3a59901dc44a2ee2364755 Mon Sep 17 00:00:00 2001 From: Guillaume Pasero <guillaume.pasero@c-s.fr> Date: Tue, 10 Apr 2018 11:59:40 +0200 Subject: [PATCH] SuperBuild: patch for jpeg detection on windows --- SuperBuild/patches/QT5/qt5-1-jpeg-detection-win.diff | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 SuperBuild/patches/QT5/qt5-1-jpeg-detection-win.diff diff --git a/SuperBuild/patches/QT5/qt5-1-jpeg-detection-win.diff b/SuperBuild/patches/QT5/qt5-1-jpeg-detection-win.diff new file mode 100644 index 0000000000..df7bc1e769 --- /dev/null +++ b/SuperBuild/patches/QT5/qt5-1-jpeg-detection-win.diff @@ -0,0 +1,12 @@ +--- qt-everywhere-src-5.10.1/qtbase/src/gui/configure.json 2018-02-08 19:24:48.000000000 +0100 ++++ QT5/qtbase/src/gui/configure.json 2018-04-10 11:50:15.631526687 +0200 +@@ -278,8 +278,7 @@ + "main": "jpeg_create_compress(cinfo);" + }, + "sources": [ +- { "libs": "-llibjpeg", "condition": "config.msvc" }, +- { "libs": "-ljpeg", "condition": "!config.msvc" } ++ { "libs": "-ljpeg" } + ] + }, + "libpng": { -- GitLab