diff --git a/mysql/CMakeLists.txt b/mysql/CMakeLists.txt index 3bc5f9231f1b..8dc6ee5ed6e6 100644 --- a/mysql/CMakeLists.txt +++ b/mysql/CMakeLists.txt @@ -1,11 +1,12 @@ project(userver-mysql CXX) +find_package(OpenSSL REQUIRED) find_package(ZLIB REQUIRED) find_package(libmariadb REQUIRED) userver_module(mysql SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}" - LINK_LIBRARIES_PRIVATE libmariadb ZLIB::ZLIB + LINK_LIBRARIES_PRIVATE libmariadb ZLIB::ZLIB OpenSSL::SSL OpenSSL::Crypto DBTEST_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/tests" UTEST_LINK_LIBRARIES libmariadb