The version of libxml2 required by c-index-test must be at least 2.5.3. Considering that this version was released in 2003, you might think the check a bit ridiculous. Unfortunately, GnuWin32 ships with libxml2 2.4.12, which was released in 2001.

This allows us to have GnuWin32 on the PATH on Windows without causing compilation errors.

llvm-svn: 244751
This commit is contained in:
Aaron Ballman 2015-08-12 15:01:15 +00:00
parent 1fd2a8cfa7
commit 3349f89974
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ else()
set(BACKEND_PACKAGE_STRING "${PACKAGE_STRING}")
endif()
find_package(LibXml2)
find_package(LibXml2 2.5.3 QUIET)
if (LIBXML2_FOUND)
set(CLANG_HAVE_LIBXML 1)
endif()