summaryrefslogtreecommitdiff
path: root/source/fitz
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2017-11-17 14:44:51 +0100
committerTor Andersson <tor.andersson@artifex.com>2017-11-17 14:47:31 +0100
commit74a8100804c8f18e1e2a71435b1e191df49e81fd (patch)
tree59a0bf26aa71d303b6c1997f7bb11644e525a32a /source/fitz
parenta3979090efc4463e033b701089afa42312df7f6e (diff)
downloadmupdf-74a8100804c8f18e1e2a71435b1e191df49e81fd.tar.xz
Fix build if lcms2 is not present.
We NEED lcms2art (the artifex branch) and cannot build with stock lcms2. Disable ICC support if the lcms2 thirdparty library is not present.
Diffstat (limited to 'source/fitz')
-rw-r--r--source/fitz/color-lcms.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/fitz/color-lcms.c b/source/fitz/color-lcms.c
index 604573cb..93a5e415 100644
--- a/source/fitz/color-lcms.c
+++ b/source/fitz/color-lcms.c
@@ -1,4 +1,6 @@
#include "mupdf/fitz.h"
+
+#ifndef NO_ICC
#include "lcms2art.h"
#include "lcms2art_plugin.h"
#include "colorspace-imp.h"
@@ -356,3 +358,4 @@ fz_cmm_engine fz_cmm_engine_lcms = {
fz_lcms_fin_profile,
cmsFLAGS_NOWHITEONWHITEFIXUP
};
+#endif