[zstd] update to v1.3.7 (#4785)

* [zstd] update to v1.3.7

* [zstd] Bump control version

* [zstd] Disable force release mode
This commit is contained in:
Erwan BERNARD 2018-11-27 00:41:37 +01:00 committed by Robert Schumacher
parent e78a40b553
commit 8361d177d7
3 changed files with 19 additions and 4 deletions

View File

@ -1,3 +1,3 @@
Source: zstd
Version: 1.3.4
Version: 1.3.7-1
Description: Zstandard - Fast real-time compression algorithm http://www.zstd.net

View File

@ -0,0 +1,13 @@
diff --git a/build/cmake/CMakeLists.txt b/build/cmake/CMakeLists.txt
index 1e2921d..31fe3d5 100644
--- a/build/cmake/CMakeLists.txt
+++ b/build/cmake/CMakeLists.txt
@@ -12,7 +12,7 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.8.9)
SET(ZSTD_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../..")
# Ensure Release build even if not invoked via Makefile
-SET(CMAKE_BUILD_TYPE "Release")
+# SET(CMAKE_BUILD_TYPE "Release")
LIST(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules")
INCLUDE(GNUInstallDirs)

View File

@ -2,9 +2,11 @@ include(vcpkg_common_functions)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO facebook/zstd
REF v1.3.4
SHA512 d3c8c1dfabd251b03205b64eff97898c1e2ca457191b1f6257450e6d2675451a68aa0bc2220b2c65baa69a6997d98490612779d95b3325320c0a3202810ae554
HEAD_REF dev)
REF v1.3.7
SHA512 b7a432b13e237ac1490cd82b87727f6a4385d5ea7b89f566dea61a3993e17909c03288f727326ada326e36eb47ea5f9eab67c097808ee42f52cc800a7f7e1738
HEAD_REF dev
PATCHES enable-debug-mode.patch
)
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
set(ZSTD_STATIC 1)