Skip to content

Commit

Permalink
Explicitly disable libxml2 on android.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@308699 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
Eric Beckmann committed Jul 20, 2017
1 parent 7f5a7a4 commit d7e9689
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/config-ix.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d7e9689

Please sign in to comment.