CMake: support using system-wide zstd library
CMake does not have native support for zstd yet.
This commit is contained in:
1 parent
de5941d6f8
commit
24eee74937
1 file changed
+1
-1
+1
-1
@@ -608,7 +608,7 @@ else()
|
|||||||
add_subdirectory(Externals/liblzma)
|
add_subdirectory(Externals/liblzma)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
find_package(zstd)
|
pkg_search_module(ZSTD QUIET libzstd)
|
||||||
if(ZSTD_FOUND)
|
if(ZSTD_FOUND)
|
||||||
message(STATUS "Using shared zstd")
|
message(STATUS "Using shared zstd")
|
||||||
else()
|
else()
|
||||||
|
|||||||
Reference in new issue
Block a user