Explicitly disable libxml2 on android.

llvm-svn: 308699
This commit is contained in:
Eric Beckmann 2017-07-20 23:54:51 +00:00
parent abb5476df4
commit c12c5487e2
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ if( NOT PURE_WINDOWS AND NOT LLVM_USE_SANITIZER MATCHES "Memory.*")
set(LLVM_LIBXML2_ENABLED 0)
set(LIBXML2_FOUND 0)
if(LLVM_ENABLE_LIBXML2 AND CMAKE_SYSTEM_NAME MATCHES "Linux")
if(LLVM_ENABLE_LIBXML2 AND CMAKE_SYSTEM_NAME MATCHES "Linux" AND NOT ANDROID)
find_package(LibXml2)
if (LIBXML2_FOUND)
set(LLVM_LIBXML2_ENABLED 1)