Fetch zstd as standalone lib (#192)

Reviewed-on: https://git.madvoxel.net/OpenVulkano/OpenVulkano/pulls/192
Reviewed-by: Georg Hagen <georg.hagen@madvoxel.com>
Co-authored-by: ohyzha <oleksii.hyzha.ext@madvoxel.com>
Co-committed-by: ohyzha <oleksii.hyzha.ext@madvoxel.com>
This commit is contained in:
ohyzha
2025-01-24 17:00:15 +01:00
committed by Oleksii_Hyzha
parent 0dcfce7fb2
commit 90dc67ddb8
2 changed files with 2 additions and 3 deletions

View File

@@ -16,7 +16,6 @@ if (NOT LibArchive_FOUND)
endif()
else ()
message("Using system LibArchive")
set(USING_SYSTEM_LIBARCHIVE ON PARENT_SCOPE)
endif ()
function(LinkLibArchive TARGET)
@@ -27,8 +26,8 @@ function(LinkLibArchive TARGET)
endif()
set(ZLIB_USE_STATIC_LIBS ON)
find_package(ZLIB REQUIRED)
find_package(zstd REQUIRED)
find_package(LZ4 QUIET)
find_package(zstd QUIET)
find_package(BZip2 QUIET)
find_package(LibLZMA QUIET)
find_package(LibXml2 QUIET)