projects
/
babl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9d111e
)
babl: fix building reference-fish without lcms2
author
Øyvind Kolås
<pippin@gimp.org>
Thu, 6 Dec 2018 21:34:34 +0000
(22:34 +0100)
committer
Øyvind Kolås
<pippin@gimp.org>
Thu, 6 Dec 2018 21:34:34 +0000
(22:34 +0100)
babl/babl-fish-reference.c
patch
|
blob
|
history
diff --git
a/babl/babl-fish-reference.c
b/babl/babl-fish-reference.c
index 6ef1c69990a76e5b96e85a3b7224f97786ce1a69..81aa9b20a592e3748b815cd3ef3c1b2812b9a3fa 100644
(file)
--- a/
babl/babl-fish-reference.c
+++ b/
babl/babl-fish-reference.c
@@
-1017,9
+1017,12
@@
babl_fish_reference_process_double (const Babl *babl,
else if (source_kind == KIND_CMYK &&
destination_kind == KIND_CMYK)
{
- if (source_space != destination_space &&
- source_space->space.cmyk.lcms_profile &&
- destination_space->space.cmyk.lcms_profile)
+ if (source_space != destination_space
+#if HAVE_LCMS
+ && source_space->space.cmyk.lcms_profile
+ && destination_space->space.cmyk.lcms_profile
+#endif
+ )
{
#if HAVE_LCMS