mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-09-21 20:01:40 +02:00
Merge pull request #8817 from Tilka/cmake
CMake: support using system-wide zstd library
This commit is contained in:
commit
7cdd0e2430
2 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||||
|
|
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(CheckTypeSize)
|
||||||
include(CheckFunctionExists)
|
include(CheckFunctionExists)
|
||||||
|
|
Loading…
Reference in a new issue