Skip to content

Commit

Permalink
[llvm] Fix typo for libxml2 detection
Browse files Browse the repository at this point in the history
This seems to be a copy-paste from the similar zlib detection code.

Patch By: sthibaul

Differential Revision: https://reviews.llvm.org/D117052
  • Loading branch information
sthibaul authored and petrhosek committed May 17, 2022
1 parent 8d6e2c3 commit a9127eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/WindowsManifest/CMakeLists.txt
Expand Up @@ -26,7 +26,7 @@ if(LLVM_ENABLE_LIBXML2)
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)
Expand Down

0 comments on commit a9127eb

Please sign in to comment.