1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

[CMake] Link against ZLIB::ZLIB

This is the imported target that find_package(ZLIB) defines.
This commit is contained in:
Petr Hosek 2020-02-05 17:59:27 -08:00
parent 97695b832a
commit 2c6a860851

View File

@ -1,5 +1,5 @@
if(LLVM_ENABLE_ZLIB)
set(system_libs ${ZLIB_LIBRARY})
set(system_libs ZLIB::ZLIB)
endif()
if( MSVC OR MINGW )