mirror of https://github.com/mamba-org/mamba.git
attempt to fix libarchive link: enable xmllite on windows static build as it's used by libarchive
This commit is contained in:
parent
35ad5fd8fa
commit
765224f57d
|
@ -562,6 +562,7 @@ macro(libmamba_create_target target_name linkage output_name)
|
|||
elseif(WIN32)
|
||||
|
||||
set(CMAKE_PREFIX_PATH "$ENV{VCPKG_ROOT}/installed/x64-windows-static-md/")
|
||||
set(ENABLE_WIN32_XMLLITE ON) # libarchive uses xmllite on windows if using libxml and not expat
|
||||
|
||||
# For Windows we have a vcpkg based build system right now.
|
||||
find_package(LibArchive MODULE REQUIRED)
|
||||
|
|
Loading…
Reference in New Issue