[PATCH] D117052: [llvm] Fix typo for libxml2 detection

Samuel Thibault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 11 13:32:18 PST 2022


sthibaul created this revision.
sthibaul added reviewers: beanz, compnerd, phosek.
Herald added subscribers: hiraditya, mgorny.
sthibaul requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This seems to be a copy-paste from the similar zlib detection code.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D117052

Files:
  llvm/lib/WindowsManifest/CMakeLists.txt


Index: llvm/lib/WindowsManifest/CMakeLists.txt
===================================================================
--- llvm/lib/WindowsManifest/CMakeLists.txt
+++ llvm/lib/WindowsManifest/CMakeLists.txt
@@ -26,7 +26,7 @@
     string(TOUPPER ${CMAKE_BUILD_TYPE} build_type)
     get_property(libxml2_library TARGET LibXml2::LibXml2 PROPERTY LOCATION_${build_type})
   endif()
-  if(NOT zlib_library)
+  if(NOT libxml2_library)
     get_property(libxml2_library TARGET LibXml2::LibXml2 PROPERTY LOCATION)
   endif()
   get_library_name(${libxml2_library} libxml2_library)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117052.399059.patch
Type: text/x-patch
Size: 570 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220111/d4100a28/attachment.bin>


More information about the llvm-commits mailing list