Skip to content

Commit ea55399

Browse files
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.
1 parent 1b79789 commit ea55399

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ find_package(MySQL REQUIRED)
7979
find_package(ZLIB REQUIRED)
8080
find_package(AWSSDK 1.11.570 EXACT REQUIRED COMPONENTS s3-crt)
8181

82+
find_package(zstd REQUIRED)
83+
8284
set(source_files
8385
# main application files
8486
src/app.cpp
@@ -402,6 +404,7 @@ target_link_libraries(binlog_server
402404
ZLIB::ZLIB
403405
MySQL::client
404406
aws-cpp-sdk-s3-crt
407+
zstd::libzstd_shared
405408
)
406409
# for some reason it is not possible to propagate CXX_EXTENSIONS and
407410
# CXX_STANDARD_REQUIRED via interface library (binlog_server_compiler_flags)

0 commit comments

Comments
 (0)