[PATCH] D70519: [CMake] use findzlib util to include zlib

Michael Holman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 21 11:27:44 PST 2019


Holman added a comment.

Ah thanks for the context! Unfortunately, it does change that to `-l/usr/lib/x86_64-linux-gnu/libz.so`. What do you think if I call FindZLIB `if (ZLIB_ROOT OR ZLIB_INCLUDE_DIR OR ZLIB_LIBRARY)`, and otherwise use the existing loop?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D70519/new/

https://reviews.llvm.org/D70519





More information about the llvm-commits mailing list