Skip to content

Commit 765224f

Browse files
committed
attempt to fix libarchive link: enable xmllite on windows static build as it's used by libarchive
1 parent 35ad5fd commit 765224f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libmamba/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -562,6 +562,7 @@ macro(libmamba_create_target target_name linkage output_name)
562562
elseif(WIN32)
563563

564564
set(CMAKE_PREFIX_PATH "$ENV{VCPKG_ROOT}/installed/x64-windows-static-md/")
565+
set(ENABLE_WIN32_XMLLITE ON) # libarchive uses xmllite on windows if using libxml and not expat
565566

566567
# For Windows we have a vcpkg based build system right now.
567568
find_package(LibArchive MODULE REQUIRED)

0 commit comments

Comments
 (0)