[LLVMdev] proposal to avoid zlib dependency.

Dan Liew dan at su-root.co.uk
Wed Sep 17 06:20:43 PDT 2014


On 17 September 2014 13:27, Mueller-Roemer, Johannes Sebastian
<Johannes.Sebastian.Mueller-Roemer at igd.fraunhofer.de> wrote:
> Yes, this is incredibly annoying, so please avoid that. However I noticed that the current solution using CMake is broken, as I cannot enter my own ZLIB_ROOT, since no proper find_package is used.

I just had a go at hacking this so that we use find_package(ZLIB) if
LLVM_ENABLE_ZLIB is used. Does the attached patch work correctly?

If so I could send to llvm-commits for review.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: use_find_package_zlib.patch
Type: text/x-patch
Size: 1549 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140917/4a70d897/attachment.bin>


More information about the llvm-dev mailing list