formatting

This commit is contained in:
Klaim (Joël Lamotte) 2025-07-25 13:51:01 +02:00
parent 4cbe4c67a9
commit 09ee79a8dc
1 changed files with 6 additions and 7 deletions

View File

@ -563,13 +563,12 @@ macro(libmamba_create_target target_name linkage output_name)
set(CMAKE_PREFIX_PATH "$ENV{VCPKG_ROOT}/installed/x64-windows-static-md/")
# TODO AND CONTEXT: We found a link error in libarchive which lacked a link to
# XmlLite which is provided by Windows. libarchive has cmake
# scripts doing the necessary work to link that library but for some
# reason we couldnt idenfity it is not linking in this specific case
# (it was before but the version changed apparently). As a workaround
# we manually link with that required library but a better solution
# would be to find why libarchive doesnt do it itself.
# TODO AND CONTEXT: We found a link error in libarchive which lacked a link to XmlLite
# which is provided by Windows. libarchive has cmake scripts doing the necessary work to
# link that library but for some reason we couldnt identify it is not linking in this
# specific case (it was before but the version changed apparently). As a workaround we
# manually link with that required library but a better solution would be to find why
# libarchive doesnt do it itself.
set(SYSTEM_PROVIDED_LIBRARIES XmlLite.lib) # required by libarchive
set(ENABLE_WIN32_XMLLITE ON)