From ea55399349e2de339bd549e5696e736b2a16d32f Mon Sep 17 00:00:00 2001 From: Yura Sorokin Date: Tue, 10 Feb 2026 19:36:38 +0100 Subject: [PATCH] Added zstd as a dependency library On some platforms OpenSSL is build with 'zstd' and therefore we need to add this library to the dependency list. --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index d154823..60b3b8a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -79,6 +79,8 @@ find_package(MySQL REQUIRED) find_package(ZLIB REQUIRED) find_package(AWSSDK 1.11.570 EXACT REQUIRED COMPONENTS s3-crt) +find_package(zstd REQUIRED) + set(source_files # main application files src/app.cpp @@ -402,6 +404,7 @@ target_link_libraries(binlog_server ZLIB::ZLIB MySQL::client aws-cpp-sdk-s3-crt + zstd::libzstd_shared ) # for some reason it is not possible to propagate CXX_EXTENSIONS and # CXX_STANDARD_REQUIRED via interface library (binlog_server_compiler_flags)