mirror of
https://github.com/minetest/minetest.git
synced 2025-03-06 20:48:40 +01:00
* Add zstd support. * Rearrange serialization order * Compress entire mapblock Co-authored-by: sfan5 <sfan5@live.de>
9 lines
252 B
CMake
9 lines
252 B
CMake
mark_as_advanced(ZSTD_LIBRARY ZSTD_INCLUDE_DIR)
|
|
|
|
find_path(ZSTD_INCLUDE_DIR NAMES zstd.h)
|
|
|
|
find_library(ZSTD_LIBRARY NAMES zstd)
|
|
|
|
include(FindPackageHandleStandardArgs)
|
|
find_package_handle_standard_args(Zstd DEFAULT_MSG ZSTD_LIBRARY ZSTD_INCLUDE_DIR)
|
|
|