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

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 17 01:46:00 PDT 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rGa9127eb53894: [llvm] Fix typo for libxml2 detection (authored by sthibaul, committed by phosek).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D117052/new/

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.429961.patch
Type: text/x-patch
Size: 570 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220517/7c882886/attachment.bin>


More information about the llvm-commits mailing list