r244751 - 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.
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 12 08:01:16 PDT 2015
Author: aaronballman
Date: Wed Aug 12 10:01:15 2015
New Revision: 244751
URL: http://llvm.org/viewvc/llvm-project?rev=244751&view=rev
Log:
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.
Modified:
cfe/trunk/CMakeLists.txt
Modified: cfe/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/CMakeLists.txt?rev=244751&r1=244750&r2=244751&view=diff
==============================================================================
--- cfe/trunk/CMakeLists.txt (original)
+++ cfe/trunk/CMakeLists.txt Wed Aug 12 10:01:15 2015
@@ -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()
More information about the cfe-commits
mailing list