diff --git a/libmamba/CMakeLists.txt b/libmamba/CMakeLists.txt index 5fa9a2528..71c880a39 100644 --- a/libmamba/CMakeLists.txt +++ b/libmamba/CMakeLists.txt @@ -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)