Merge pull request #8917 from jwsharpe/require/zstd

Pushed required version of lib-zstd to 1.4.0 or higher
This commit is contained in:
Léo Lam 2020-10-21 22:27:50 +02:00 committed by GitHub
commit 548bfbe2a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -618,9 +618,9 @@ else()
add_subdirectory(Externals/liblzma)
endif()
pkg_search_module(ZSTD QUIET libzstd)
pkg_check_modules(ZSTD QUIET libzstd>=1.4.0)
if(ZSTD_FOUND)
message(STATUS "Using shared zstd")
message(STATUS "Using shared zstd version: " ${ZSTD_VERSION})
else()
check_vendoring_approved(zstd)
message(STATUS "Shared zstd not found, falling back to the static library")