mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 08:09:26 +01:00
Merge pull request #8817 from Tilka/cmake
CMake: support using system-wide zstd library
This commit is contained in:
commit
7cdd0e2430
@ -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()
|
||||
|
2
Externals/zstd/CMakeLists.txt
vendored
2
Externals/zstd/CMakeLists.txt
vendored
@ -1,4 +1,4 @@
|
||||
project(bzip2 C)
|
||||
project(zstd C)
|
||||
|
||||
include(CheckTypeSize)
|
||||
include(CheckFunctionExists)
|
||||
|
Loading…
x
Reference in New Issue
Block a user