[PATCH] D84563: [CMake] Simplify CMake handling for libxml2
Petr Hosek via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 24 15:52:10 PDT 2020
phosek created this revision.
phosek added reviewers: smeenai, compnerd.
Herald added subscribers: llvm-commits, hiraditya, mgorny.
Herald added a project: LLVM.
This matches the changes made to handling of zlib done in 10b1b4a <https://reviews.llvm.org/rG10b1b4a231a485f1711d576e6131f6755e008abe>
where we rely on find_package and the imported target rather than
manually appending the library and include paths. The use of
LLVM_LIBXML2_ENABLED has been replaced by LLVM_ENABLE_LIBXML2
thus reducing the number of variables.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D84563
Files:
lld/CMakeLists.txt
lld/test/CMakeLists.txt
lld/test/lit.cfg.py
lld/test/lit.site.cfg.py.in
llvm/cmake/config-ix.cmake
llvm/cmake/modules/LLVMConfig.cmake.in
llvm/include/llvm/Config/config.h.cmake
llvm/lib/WindowsManifest/CMakeLists.txt
llvm/lib/WindowsManifest/WindowsManifestMerger.cpp
llvm/test/CMakeLists.txt
llvm/test/lit.cfg.py
llvm/test/lit.site.cfg.py.in
llvm/utils/gn/secondary/lld/test/BUILD.gn
llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn
llvm/utils/gn/secondary/llvm/test/BUILD.gn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84563.280609.patch
Type: text/x-patch
Size: 10981 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200724/3c4ded15/attachment-0001.bin>
More information about the llvm-commits
mailing list