mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 01:29:42 -06:00
Externals: Add zstd
I had to rename Source/Common/Compiler.h because the VS build confuses it with Externals/zstd/lib/common/compiler.h otherwise.
This commit is contained in:
@ -608,6 +608,15 @@ else()
|
||||
add_subdirectory(Externals/liblzma)
|
||||
endif()
|
||||
|
||||
find_package(zstd)
|
||||
if(ZSTD_FOUND)
|
||||
message(STATUS "Using shared zstd")
|
||||
else()
|
||||
check_vendoring_approved(zstd)
|
||||
message(STATUS "Shared zstd not found, falling back to the static library")
|
||||
add_subdirectory(Externals/zstd)
|
||||
endif()
|
||||
|
||||
find_package(ZLIB)
|
||||
if(ZLIB_FOUND)
|
||||
message(STATUS "Using shared zlib")
|
||||
|
Reference in New Issue
Block a user