Adapt llvmorg-12-init-946-g10b1b4a231a: add find_package(ZLIB)

This commit is contained in:
Fangrui Song 2020-07-25 08:30:18 -07:00
parent ca95f48a53
commit 125915e254

View File

@ -120,6 +120,10 @@ if(${CMAKE_SYSTEM_NAME} STREQUAL FreeBSD)
target_link_libraries(ccls PRIVATE thr) target_link_libraries(ccls PRIVATE thr)
endif() endif()
if(LLVM_ENABLE_ZLIB)
find_package(ZLIB)
endif()
### Definitions ### Definitions
# Find Clang resource directory with Clang executable. # Find Clang resource directory with Clang executable.