Use system's libjpeg when -DUSE_SYSTEM_LIBJPEG is used

note, that it is expected that this libjpeg is newer, therefore some files needs to be patched
to compile.

This patch is used for Debian -- Debian uses libjpeg-turbo, but I assume that it will also compile
against a recent libjpeg.
This commit is contained in:
Tobias Frost 2014-11-01 17:59:25 +01:00
parent a8d9c2b489
commit 6bfedbfeb9
4 changed files with 122 additions and 74 deletions

View file

@ -29,7 +29,7 @@ If you have questions concerning this license or the applicable additional terms
#include "precompiled.h"
#include "../renderer/Image.h"
//#include "../../renderer/ImageTools/ImageProcess.h"
#include "../libs/jpeg-6/jpeglib.h"
#include <jpeglib.h>
/*
========================