summaryrefslogtreecommitdiff
path: root/Modules/FindLibXml2.cmake
diff options
context:
space:
mode:
authorOlivier LIESS <olivier.liess@eurodecision.com>2020-09-16 16:54:54 +0200
committerOlivier LIESS <olivier.liess@eurodecision.com>2020-09-16 21:41:45 +0200
commitfa258f175d7bb9c81205cfd65f0a81a511a1f71d (patch)
tree9554d586b0aea06ae9149c8bf1f1efa62baa1e99 /Modules/FindLibXml2.cmake
parentb16a3f33011719632241fe7dd63ef1f72cad0b06 (diff)
downloadcmake-fa258f175d7bb9c81205cfd65f0a81a511a1f71d.tar.gz
FindLibXml2 : added libxml2_a to find_library()
This should match the default static library name defined by LibXml2 Makefile.msvc
Diffstat (limited to 'Modules/FindLibXml2.cmake')
-rw-r--r--Modules/FindLibXml2.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindLibXml2.cmake b/Modules/FindLibXml2.cmake
index f551dfe1d4..0631607129 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}