Reinstate r316025, reverted in r316029.
authorVassil Vassilev <v.g.vassilev@gmail.com>
Thu, 19 Oct 2017 08:04:22 +0000 (08:04 +0000)
committerVassil Vassilev <v.g.vassilev@gmail.com>
Thu, 19 Oct 2017 08:04:22 +0000 (08:04 +0000)
commit448291ef5eef26993f7b05afb90ab3f5b7a863f3
tree5ea0932319889528b9a4f860a38daf94ac268b12
parent5aa613ed2f4bb4dc3486deda8e1220e5511c9a9c
Reinstate r316025, reverted in r316029.

Original commit message:
"[cmake] Use find_package to discover zlib

This allows us to use standard cmake utilities to point to non-system zlib
locations.

Patch by Oksana Shadura and me (D39002)."

The new patch brings back the old behavior in the cases where find_package
cannot find zlib.

llvm-svn: 316150
llvm/cmake/config-ix.cmake
llvm/lib/Support/CMakeLists.txt