mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
Only enable libxml2 on linux, because systems like android lack libiconv
llvm-svn: 308689
This commit is contained in:
parent
bfc1b778a0
commit
b1df1a8bd7
@ -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)
|
||||
if(LLVM_ENABLE_LIBXML2 AND CMAKE_SYSTEM_NAME MATCHES "Linux")
|
||||
find_package(LibXml2)
|
||||
if (LIBXML2_FOUND)
|
||||
set(LLVM_LIBXML2_ENABLED 1)
|
||||
|
Loading…
Reference in New Issue
Block a user