Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #8817 from Tilka/cmake
CMake: support using system-wide zstd library
  • Loading branch information
degasus committed Jun 16, 2020
2 parents fba5ff5 + 506ae2f commit 7cdd0e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion Externals/zstd/CMakeLists.txt
@@ -1,4 +1,4 @@
project(bzip2 C)
project(zstd C)

include(CheckTypeSize)
include(CheckFunctionExists)
Expand Down

0 comments on commit 7cdd0e2

Please sign in to comment.