mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-24 16:49:18 -06:00
FindLibXml2 : added libxml2_a to find_library()
This should match the default static library name defined by LibXml2 Makefile.msvc
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user