forked from OSchip/llvm-project
[CMake] Link against ZLIB::ZLIB
This is the imported target that find_package(ZLIB) defines.
This commit is contained in:
parent
c33d6970e0
commit
00b3d49d3a
|
@ -1,5 +1,5 @@
|
|||
if(LLVM_ENABLE_ZLIB)
|
||||
set(system_libs ${ZLIB_LIBRARY})
|
||||
set(system_libs ZLIB::ZLIB)
|
||||
endif()
|
||||
|
||||
if( MSVC OR MINGW )
|
||||
|
|
Loading…
Reference in New Issue