Require zstd >= 1.4.0

<leoetlino: Dolphin fails to build with zstd 1.3.8.>
This commit is contained in:
James Sharpe 2020-06-29 17:48:58 -04:00 committed by Léo Lam
parent fd5f9f4c26
commit 135cd390e7
No known key found for this signature in database
GPG Key ID: 0DF30F9081000741

View File

@ -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")