Skip to content
This repository was archived by the owner on Jan 1, 2023. It is now read-only.

Commit cba436d

Browse files
committed
CMake: Make libxml2 show up in --system-libs (PR36660)
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. Differential Revision: https://reviews.llvm.org/D44302 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@327135 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent dace686 commit cba436d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tools/llvm-config/CMakeLists.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ add_llvm_tool(llvm-config
99
)
1010

1111
# Compute the substitution values for various items.
12-
get_property(LLVM_SYSTEM_LIBS_LIST TARGET LLVMSupport PROPERTY LLVM_SYSTEM_LIBS)
13-
foreach(l ${LLVM_SYSTEM_LIBS_LIST})
12+
get_property(SUPPORT_SYSTEM_LIBS TARGET LLVMSupport PROPERTY LLVM_SYSTEM_LIBS)
13+
get_property(WINDOWSMANIFEST_SYSTEM_LIBS TARGET LLVMWindowsManifest PROPERTY LLVM_SYSTEM_LIBS)
14+
foreach(l ${SUPPORT_SYSTEM_LIBS} ${WINDOWSMANIFEST_SYSTEM_LIBS})
1415
if(MSVC)
1516
set(SYSTEM_LIBS ${SYSTEM_LIBS} "${l}.lib")
1617
else()

0 commit comments

Comments
 (0)