Merge pull request #8817 from Tilka/cmake

CMake: support using system-wide zstd library
This commit is contained in:
Markus Wick authored and GitHub committed 2020-06-16 22:55:46 +02:00
commit 7cdd0e2430
2 files changed
+2 -2

No files matched your search

+1 -1
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()
+1 -1
View File
@@ -1,4 +1,4 @@
project(bzip2 C)
project(zstd C)
include(CheckTypeSize)
include(CheckFunctionExists)