From 135cd390e7341d282d0fbc352480ec8626d70562 Mon Sep 17 00:00:00 2001 From: James Sharpe Date: Mon, 29 Jun 2020 17:48:58 -0400 Subject: [PATCH] Require zstd >= 1.4.0 --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 90e34acc91..b2fc6e0789 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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")