[PATCH] D44302: CMake: Make libxml2 show up in --system-libs (PR36660)
Hans Wennborg via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 9 06:40:22 PST 2018
hans created this revision.
hans added a reviewer: thakis.
Herald added a subscriber: mgorny.
lib/WindowsManifest/CMakeLists.txt adds it to LLVM_SYSTEM_LIBS on that
target, but it was never getting picked up in
tools/llvm-config/CMakeLists.txt.
https://reviews.llvm.org/D44302
Files:
tools/llvm-config/CMakeLists.txt
Index: tools/llvm-config/CMakeLists.txt
===================================================================
--- tools/llvm-config/CMakeLists.txt
+++ tools/llvm-config/CMakeLists.txt
@@ -9,8 +9,9 @@
)
# Compute the substitution values for various items.
-get_property(LLVM_SYSTEM_LIBS_LIST TARGET LLVMSupport PROPERTY LLVM_SYSTEM_LIBS)
-foreach(l ${LLVM_SYSTEM_LIBS_LIST})
+get_property(SUPPORT_SYSTEM_LIBS TARGET LLVMSupport PROPERTY LLVM_SYSTEM_LIBS)
+get_property(WINDOWSMANIFEST_SYSTEM_LIBS TARGET LLVMWindowsManifest PROPERTY LLVM_SYSTEM_LIBS)
+foreach(l ${SUPPORT_SYSTEM_LIBS} ${WINDOWSMANIFEST_SYSTEM_LIBS})
if(MSVC)
set(SYSTEM_LIBS ${SYSTEM_LIBS} "${l}.lib")
else()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44302.137742.patch
Type: text/x-patch
Size: 690 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180309/65505762/attachment.bin>
More information about the llvm-commits
mailing list