summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier LIESS <olivier.liess@eurodecision.com>2020-09-16 14:54:54 (GMT)
committerOlivier LIESS <olivier.liess@eurodecision.com>2020-09-16 19:41:45 (GMT)
commitfa258f175d7bb9c81205cfd65f0a81a511a1f71d (patch)
tree9554d586b0aea06ae9149c8bf1f1efa62baa1e99
parentb16a3f33011719632241fe7dd63ef1f72cad0b06 (diff)
downloadCMake-fa258f175d7bb9c81205cfd65f0a81a511a1f71d.zip
CMake-fa258f175d7bb9c81205cfd65f0a81a511a1f71d.tar.gz
CMake-fa258f175d7bb9c81205cfd65f0a81a511a1f71d.tar.bz2
FindLibXml2 : added libxml2_a to find_library()
This should match the default static library name defined by LibXml2 Makefile.msvc
-rw-r--r--Modules/FindLibXml2.cmake2
1 files changed, 1 insertions, 1 deletions
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}