Merge pull request #8817 from Tilka/cmake

CMake: support using system-wide zstd library
This commit is contained in:
Markus Wick 2020-06-16 22:55:46 +02:00 committed by GitHub
commit 7cdd0e2430
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -608,7 +608,7 @@ else()
add_subdirectory(Externals/liblzma)
endif()
find_package(zstd)
pkg_search_module(ZSTD QUIET libzstd)
if(ZSTD_FOUND)
message(STATUS "Using shared zstd")
else()

View File

@ -1,4 +1,4 @@
project(bzip2 C)
project(zstd C)
include(CheckTypeSize)
include(CheckFunctionExists)