Skip to content
Snippets Groups Projects
Commit cf7ecf6e authored by Georgy Kirichenko's avatar Georgy Kirichenko
Browse files

Update bundled zstd library

parent b881164c
No related branches found
No related tags found
No related merge requests found
macro(zstd_build)
add_library(zstd STATIC
third_party/zstd/lib/zstd_compress.c
third_party/zstd/lib/zstd_decompress.c
third_party/zstd/lib/zdict.c
third_party/zstd/lib/zbuff.c
third_party/zstd/lib/fse.c
third_party/zstd/lib/huff0.c
third_party/zstd/lib/divsufsort.c
third_party/zstd/lib/compress/zstd_compress.c
third_party/zstd/lib/decompress/zstd_decompress.c
)
set(ZSTD_LIBRARIES zstd)
set(ZSTD_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/third_party/zstd/lib)
set(ZSTD_INCLUDE_DIRS
${CMAKE_CURRENT_SOURCE_DIR}/third_party/zstd/lib
${CMAKE_CURRENT_SOURCE_DIR}/third_party/zstd/lib/common)
target_include_directories(zstd PUBLIC ${ZSTD_INCLUDE_DIRS})
find_package_message(ZSTD "Using bundled ZSTD"
"${ZSTD_LIBRARIES}:${ZSTD_INCLUDE_DIRS}")
add_dependencies(build_bundled_libs zstd)
......
Subproject commit d0407789f6b926222ac83183010918b090cf163d
Subproject commit d7c6589df8bfd0722579054532a0c588b9c17901
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment