Skip to content

Commit 125915e

Browse files
committed
Adapt llvmorg-12-init-946-g10b1b4a231a: add find_package(ZLIB)
1 parent ca95f48 commit 125915e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CMakeLists.txt

+4
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,10 @@ if(${CMAKE_SYSTEM_NAME} STREQUAL FreeBSD)
120120
target_link_libraries(ccls PRIVATE thr)
121121
endif()
122122

123+
if(LLVM_ENABLE_ZLIB)
124+
find_package(ZLIB)
125+
endif()
126+
123127
### Definitions
124128

125129
# Find Clang resource directory with Clang executable.

0 commit comments

Comments
 (0)