Skip to content

Commit 7b70f7d

Browse files
committed
caches: disable XML2 explicitly
When cross-compiling to ARM64, we would accidentally enable libxml2 support even if the library was unavailable. This would result in build failures.
1 parent c2f7452 commit 7b70f7d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmake/caches/Windows-arm64.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ set(LLDB_ALLOW_STATIC_BINDINGS YES CACHE BOOL "")
6868
set(LLDB_USE_STATIC_BINDINGS YES CACHE BOOL "")
6969
set(LLDB_ENABLE_PYTHON YES CACHE BOOL "")
7070
set(LLDB_EMBED_PYTHON_HOME NO CACHE BOOL "")
71+
set(LLDB_ENABLE_LIBXML2 NO CACHE BOOL "")
7172

7273
# This requires perl which may not be available on Windows
7374
set(SWIFT_INCLUDE_DOCS NO CACHE BOOL "")

0 commit comments

Comments
 (0)