[PATCH] D42252: [cmake] Include LLVM_LIBXML2_ENABLED in LLVMConfig.cmake, PR36006

Michał Górny via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 18 11:09:41 PST 2018


mgorny created this revision.
mgorny added reviewers: labath, hans.

Include the LLVM_LIBXML2_ENABLED cache variable in LLVMConfig.cmake
in order to make it available for other LLVM packages to query. This
is necessary to fix stand-alone testing of LLD.


Repository:
  rL LLVM

https://reviews.llvm.org/D42252

Files:
  cmake/modules/LLVMConfig.cmake.in


Index: cmake/modules/LLVMConfig.cmake.in
===================================================================
--- cmake/modules/LLVMConfig.cmake.in
+++ cmake/modules/LLVMConfig.cmake.in
@@ -37,6 +37,8 @@
 
 set(LLVM_ENABLE_ZLIB @LLVM_ENABLE_ZLIB@)
 
+set(LLVM_LIBXML2_ENABLED @LLVM_LIBXML2_ENABLED@)
+
 set(LLVM_ENABLE_DIA_SDK @LLVM_ENABLE_DIA_SDK@)
 
 set(LLVM_NATIVE_ARCH @LLVM_NATIVE_ARCH@)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42252.130457.patch
Type: text/x-patch
Size: 393 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180118/9178a5b0/attachment.bin>


More information about the llvm-commits mailing list