Skip to content

Commit

Permalink
The version of libxml2 required by c-index-test must be at least 2.5.…
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
AaronBallman committed Aug 12, 2015
1 parent 1fd2a8c commit 3349f89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 3349f89

Please sign in to comment.