From 9cd435c730949e29104bbfa2bdd82ed2c662ca3d Mon Sep 17 00:00:00 2001 From: Martchus Date: Sat, 7 Sep 2019 13:21:37 +0200 Subject: [PATCH 4/4] Use pkg-config to find libjpeg --- src/gui/configure.json | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/configure.json b/src/gui/configure.json index 6280b4dfa2..206f83984a 100644 --- a/src/gui/configure.json +++ b/src/gui/configure.json @@ -373,6 +373,7 @@ }, "headers": "jpeglib.h", "sources": [ + { "type": "pkgConfig", "args": "libjpeg" }, { "libs": "-llibjpeg", "condition": "config.msvc" }, "-ljpeg" ] -- 2.23.0