void-packages/srcpkgs/renderdoc/patches/unvendor-zstd-lz4.patch

69 lines
2.1 KiB
Diff

Index: renderdoc/CMakeLists.txt
===================================================================
--- renderdoc/CMakeLists.txt.orig
+++ renderdoc/CMakeLists.txt
@@ -213,54 +213,10 @@ set(sources
3rdparty/pugixml/pugixml.cpp
3rdparty/pugixml/pugixml.hpp
3rdparty/pugixml/pugiconfig.hpp
- 3rdparty/lz4/lz4.c
- 3rdparty/lz4/lz4.h
3rdparty/miniz/miniz.c
3rdparty/miniz/miniz.h
3rdparty/superluminal/superluminal.cpp
3rdparty/superluminal/superluminal.h
- 3rdparty/zstd/bitstream.h
- 3rdparty/zstd/compiler.h
- 3rdparty/zstd/cpu.h
- 3rdparty/zstd/debug.c
- 3rdparty/zstd/debug.h
- 3rdparty/zstd/entropy_common.c
- 3rdparty/zstd/error_private.c
- 3rdparty/zstd/error_private.h
- 3rdparty/zstd/fse.h
- 3rdparty/zstd/fse_compress.c
- 3rdparty/zstd/fse_decompress.c
- 3rdparty/zstd/hist.c
- 3rdparty/zstd/hist.h
- 3rdparty/zstd/huf.h
- 3rdparty/zstd/huf_compress.c
- 3rdparty/zstd/huf_decompress.c
- 3rdparty/zstd/mem.h
- 3rdparty/zstd/pool.c
- 3rdparty/zstd/pool.h
- 3rdparty/zstd/threading.c
- 3rdparty/zstd/threading.h
- 3rdparty/zstd/xxhash.c
- 3rdparty/zstd/xxhash.h
- 3rdparty/zstd/zstd.h
- 3rdparty/zstd/zstd_common.c
- 3rdparty/zstd/zstd_compress.c
- 3rdparty/zstd/zstd_compress_internal.h
- 3rdparty/zstd/zstd_decompress.c
- 3rdparty/zstd/zstd_double_fast.c
- 3rdparty/zstd/zstd_double_fast.h
- 3rdparty/zstd/zstd_errors.h
- 3rdparty/zstd/zstd_fast.c
- 3rdparty/zstd/zstd_fast.h
- 3rdparty/zstd/zstd_internal.h
- 3rdparty/zstd/zstd_lazy.c
- 3rdparty/zstd/zstd_lazy.h
- 3rdparty/zstd/zstd_ldm.c
- 3rdparty/zstd/zstd_ldm.h
- 3rdparty/zstd/zstd_opt.c
- 3rdparty/zstd/zstd_opt.h
- 3rdparty/zstd/zstdmt_compress.c
- 3rdparty/zstd/zstdmt_compress.h
3rdparty/stb/stb_image.h
3rdparty/stb/stb_image_write.h
3rdparty/stb/stb_image_resize.h
@@ -271,6 +227,8 @@ set(sources
3rdparty/tinyfiledialogs/tinyfiledialogs.c
3rdparty/tinyfiledialogs/tinyfiledialogs.h)
+list(APPEND RDOC_LIBRARIES -llz4 -lzstd)
+
if(ANDROID)
list(APPEND sources
data/embedded_files.h