[PATCH] D47560: [CMake] Use find_package to find zlib

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 30 14:35:11 PDT 2018


phosek created this revision.
phosek added reviewers: beanz, vitalybuka.
Herald added subscribers: llvm-commits, hiraditya, mgorny.

Use the FindZLIB CMake function with find_package to find zlib.
This is a builtin module provided by CMake which allows overriding
the zlib location through standard mechanisms.


Repository:
  rL LLVM

https://reviews.llvm.org/D47560

Files:
  llvm/cmake/config-ix.cmake
  llvm/include/llvm/Config/config.h.cmake
  llvm/lib/Support/CMakeLists.txt
  llvm/lib/Support/Compression.cpp
  llvm/unittests/Support/CompressionTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47560.149195.patch
Type: text/x-patch
Size: 3930 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180530/0d140c22/attachment.bin>


More information about the llvm-commits mailing list