[PATCH] D116235: [CMake] Include ZLIB_ROOT in LLVMConfig.cmake

Jake Egan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 23 12:44:02 PST 2021


Jake-Egan created this revision.
Herald added a subscriber: mgorny.
Jake-Egan requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D116235

Files:
  llvm/cmake/modules/LLVMConfig.cmake.in


Index: llvm/cmake/modules/LLVMConfig.cmake.in
===================================================================
--- llvm/cmake/modules/LLVMConfig.cmake.in
+++ llvm/cmake/modules/LLVMConfig.cmake.in
@@ -69,6 +69,7 @@
 
 set(LLVM_ENABLE_ZLIB @LLVM_ENABLE_ZLIB@)
 if(LLVM_ENABLE_ZLIB)
+  set(ZLIB_ROOT @ZLIB_ROOT@)
   find_package(ZLIB)
 endif()
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116235.396078.patch
Type: text/x-patch
Size: 347 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211223/943588ef/attachment.bin>


More information about the llvm-commits mailing list