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:
commit
548bfbe2a2
|
@ -618,9 +618,9 @@ else()
|
||||||
add_subdirectory(Externals/liblzma)
|
add_subdirectory(Externals/liblzma)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
pkg_search_module(ZSTD QUIET libzstd)
|
pkg_check_modules(ZSTD QUIET libzstd>=1.4.0)
|
||||||
if(ZSTD_FOUND)
|
if(ZSTD_FOUND)
|
||||||
message(STATUS "Using shared zstd")
|
message(STATUS "Using shared zstd version: " ${ZSTD_VERSION})
|
||||||
else()
|
else()
|
||||||
check_vendoring_approved(zstd)
|
check_vendoring_approved(zstd)
|
||||||
message(STATUS "Shared zstd not found, falling back to the static library")
|
message(STATUS "Shared zstd not found, falling back to the static library")
|
||||||
|
|
Loading…
Reference in New Issue