mirror of
https://github.com/minetest/minetest.git
synced 2024-08-19 04:54:18 +02:00
* Add zstd support. * Rearrange serialization order * Compress entire mapblock Co-authored-by: sfan5 <sfan5@live.de>
10 lines
252 B
CMake
10 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)
|
|
|