From fa258f175d7bb9c81205cfd65f0a81a511a1f71d Mon Sep 17 00:00:00 2001 From: Olivier LIESS Date: Wed, 16 Sep 2020 16:54:54 +0200 Subject: FindLibXml2 : added libxml2_a to find_library() This should match the default static library name defined by LibXml2 Makefile.msvc --- Modules/FindLibXml2.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/FindLibXml2.cmake b/Modules/FindLibXml2.cmake index f551dfe..0631607 100644 --- a/Modules/FindLibXml2.cmake +++ b/Modules/FindLibXml2.cmake @@ -67,7 +67,7 @@ if(DEFINED LIBXML2_LIBRARIES AND NOT DEFINED LIBXML2_LIBRARY) set(LIBXML2_LIBRARY ${LIBXML2_LIBRARIES}) endif() -find_library(LIBXML2_LIBRARY NAMES xml2 libxml2 +find_library(LIBXML2_LIBRARY NAMES xml2 libxml2 libxml2_a HINTS ${PC_LIBXML_LIBDIR} ${PC_LIBXML_LIBRARY_DIRS} -- cgit v0.12