Revert abb00753 "build: reduce CMake handling for zlib" (PR44780)
authorHans Wennborg <hans@chromium.org>
Tue, 3 Mar 2020 08:45:14 +0000 (09:45 +0100)
committerHans Wennborg <hans@chromium.org>
Tue, 3 Mar 2020 10:03:09 +0000 (11:03 +0100)
commit916be8fd6a0a0feea4cefcbeb0c22c65848d7a2e
tree4e8be527a632a1df69358414e9c59c52fbdd3a11
parent4e363563fa149321514389a031fa063e998d7422
Revert abb00753 "build: reduce CMake handling for zlib" (PR44780)

and follow-ups:
a2ca1c2d "build: disable zlib by default on Windows"
2181bf40 "[CMake] Link against ZLIB::ZLIB"
1079c68a "Attempt to fix ZLIB CMake logic on Windows"

This changed the output of llvm-config --system-libs, and more
importantly it broke stand-alone builds. Instead of piling on more fix
attempts, let's revert this to reduce the risk of more breakages.
16 files changed:
clang/test/CMakeLists.txt
clang/test/lit.site.cfg.py.in
compiler-rt/test/lit.common.configured.in
lld/test/CMakeLists.txt
lld/test/lit.site.cfg.py.in
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
llvm/CMakeLists.txt
llvm/cmake/config-ix.cmake
llvm/include/llvm/Config/config.h.cmake
llvm/lib/Support/CMakeLists.txt
llvm/lib/Support/CRC.cpp
llvm/lib/Support/Compression.cpp
llvm/test/CMakeLists.txt
llvm/test/lit.site.cfg.py.in
llvm/unittests/Support/CompressionTest.cpp