diff options
author | Ivan Donchevskii <ivan.donchevskii@qt.io> | 2018-10-10 15:45:05 +0200 |
---|---|---|
committer | Ivan Donchevskii <ivan.donchevskii@qt.io> | 2019-04-04 06:32:33 +0000 |
commit | 1c6ea8a0b9c22d674854c09460e2bee4bbd1725b (patch) | |
tree | a24e0aaaf21dd8be9410c87bfa3f5db3318baed5 | |
parent | 13d49cfcd2f937320b21d819b199089a8cceebc4 (diff) |
Don't use libxml2
It's optional for c-index-test and can confuse mingw
when building 32-bit version with 64-bit tools.
This is a cherry pick from commit 5de09d0ea8330e4a02a485d9c2cf2ae3389fc396
Change-Id: I45ead62355be156f45584ef09db4b0daa304e4a3
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
-rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index c2016a45ca..9243b2fdcd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -204,10 +204,10 @@ if(LLVM_ENABLE_LIBXML2) # code may call MSan interceptors like strlen, leading to false positives. if(NOT LLVM_USE_SANITIZER MATCHES "Memory.*") set (LIBXML2_FOUND 0) - find_package(LibXml2 2.5.3 QUIET) - if (LIBXML2_FOUND) - set(CLANG_HAVE_LIBXML 1) - endif() +# find_package(LibXml2 2.5.3 QUIET) +# if (LIBXML2_FOUND) +# set(CLANG_HAVE_LIBXML 1) +# endif() endif() endif() |