add zstd lib

This commit is contained in:
yihaoDeng 2024-03-14 08:36:08 +00:00
parent 816f7d6cbe
commit 82488ca6c2
2 changed files with 3 additions and 1 deletions

View File

@ -3,7 +3,6 @@
ExternalProject_Add(zstd ExternalProject_Add(zstd
GIT_REPOSITORY https://github.com/facebook/zstd.git GIT_REPOSITORY https://github.com/facebook/zstd.git
GIT_TAG v1.5.5 GIT_TAG v1.5.5
DOWNLOAD_DIR "${TD_CONTRIB_DIR}/deps-download"
SOURCE_DIR "${TD_CONTRIB_DIR}/zstd" SOURCE_DIR "${TD_CONTRIB_DIR}/zstd"
BINARY_DIR "" BINARY_DIR ""
CONFIGURE_COMMAND "" CONFIGURE_COMMAND ""

View File

@ -109,6 +109,9 @@ cat("${TD_SUPPORT_DIR}/zlib_CMakeLists.txt.in" ${CONTRIB_TMP_FILE})
# cJson # cJson
cat("${TD_SUPPORT_DIR}/cjson_CMakeLists.txt.in" ${CONTRIB_TMP_FILE}) cat("${TD_SUPPORT_DIR}/cjson_CMakeLists.txt.in" ${CONTRIB_TMP_FILE})
# zstd
cat("${TD_SUPPORT_DIR}/zstd_CMakeLists.txt.in" ${CONTRIB_TMP_FILE})
if (${BUILD_CONTRIB}) if (${BUILD_CONTRIB})
if(${BUILD_WITH_ROCKSDB}) if(${BUILD_WITH_ROCKSDB})
cat("${TD_SUPPORT_DIR}/rocksdb_CMakeLists.txt.in" ${CONTRIB_TMP_FILE}) cat("${TD_SUPPORT_DIR}/rocksdb_CMakeLists.txt.in" ${CONTRIB_TMP_FILE})