vcpkg/ports/libmariadb/zstd.patch
双草酸酯 cc115450e0
[libmariadb] add zstd to option list (#26931)
* [libmariadb] add zstd to macOS build

* update manifests

* add zstd switch

* update version

* update

* update version
2022-10-08 21:38:15 -07:00

14 lines
481 B
Diff

diff --git a/plugins/compress/CMakeLists.txt b/plugins/compress/CMakeLists.txt
index f6dab85..0bbdf47 100644
--- a/plugins/compress/CMakeLists.txt
+++ b/plugins/compress/CMakeLists.txt
@@ -12,7 +12,7 @@ REGISTER_PLUGIN(TARGET zlib
SOURCES ${COMPRESS_PLUGIN_DIR}/c_zlib.c)
#zstd compression
-IF(${ZSTD_FOUND})
+IF(${WITH_ZSTD})
INCLUDE_DIRECTORIES(${ZSTD_INCLUDE_DIRS})
REGISTER_PLUGIN(TARGET zstd
TYPE MARIADB_CLIENT_COMPRESSION_PLUGIN