[llvm] 516f6f8 - Revert "[CMake] Link against ZLIB::ZLIB"
Petr Hosek via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 6 13:55:47 PST 2020
Author: Petr Hosek
Date: 2020-02-06T13:55:28-08:00
New Revision: 516f6f83ce6706cea1129e5dc8ecf96d93dc3ec4
URL: https://github.com/llvm/llvm-project/commit/516f6f83ce6706cea1129e5dc8ecf96d93dc3ec4
DIFF: https://github.com/llvm/llvm-project/commit/516f6f83ce6706cea1129e5dc8ecf96d93dc3ec4.diff
LOG: Revert "[CMake] Link against ZLIB::ZLIB"
This reverts commit 00b3d49d3a86490f0596100b23cd2c3a49334c75 as this
broke the llvm-config output.
Added:
Modified:
llvm/lib/Support/CMakeLists.txt
Removed:
################################################################################
diff --git a/llvm/lib/Support/CMakeLists.txt b/llvm/lib/Support/CMakeLists.txt
index a0d2cea52dd9..26332d4f539c 100644
--- a/llvm/lib/Support/CMakeLists.txt
+++ b/llvm/lib/Support/CMakeLists.txt
@@ -1,5 +1,5 @@
if(LLVM_ENABLE_ZLIB)
- set(system_libs ZLIB::ZLIB)
+ set(system_libs ${ZLIB_LIBRARY})
endif()
if( MSVC OR MINGW )
More information about the llvm-commits
mailing list