]> granicus.if.org Git - clang/commitdiff
The version of libxml2 required by c-index-test must be at least 2.5.3. Considering...
authorAaron Ballman <aaron@aaronballman.com>
Wed, 12 Aug 2015 15:01:15 +0000 (15:01 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Wed, 12 Aug 2015 15:01:15 +0000 (15:01 +0000)
This allows us to have GnuWin32 on the PATH on Windows without causing compilation errors.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244751 91177308-0d34-0410-b5e6-96231b3b80d8

CMakeLists.txt

index 250d66eb16eecaf5ddce52a013b4a628359c0456..d808844b14cd1d193193cd4a98ee99f73445c259 100644 (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()