[poppler] [PATCH] [CMake] Fix automagic lcms dependencies

Maciej Mrozowski reavertm at gmail.com
Thu Jun 14 10:32:39 PDT 2012


On Sunday 10 of June 2012 18:06:34 Albert Astals Cid wrote:

> The CMake part still looks wrong, there is no way to disable it now.

Grr, right, sorry for that.

> Please convert the last else to elseif "auto" and add to the description
> that anyother than lcm2,1,auto disables cms usage.

I did the same if/elseif order as for autotools:
if (auto) // try lcms2 then lcms1
elseif(lcms1)
elseif(lcms2)
endif() // '--disable-cms' or 'ENABLE_CMS=' or anything else given

-- 
regards
MM
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Buildsystem-CMake-Provide-ENABLE_CMS-auto-lcms1-lcms.patch
Type: text/x-patch
Size: 4393 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20120614/37195789/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20120614/37195789/attachment.pgp>


More information about the poppler mailing list