From 4544abc7d6ae98d06b8fc11b1274fe949362641d Mon Sep 17 00:00:00 2001 From: ltrk2 <107155950+ltrk2@users.noreply.github.com> Date: Thu, 6 Apr 2023 11:37:12 -0700 Subject: [PATCH] Remove dead code and unused dependencies --- src/Bridge/CMakeLists.txt | 2 +- src/Bridge/IBridge.cpp | 5 ----- src/Dictionaries/CMakeLists.txt | 1 - 3 files changed, 1 insertion(+), 7 deletions(-) diff --git a/src/Bridge/CMakeLists.txt b/src/Bridge/CMakeLists.txt index daf38bd6cbc..5f0e97fc630 100644 --- a/src/Bridge/CMakeLists.txt +++ b/src/Bridge/CMakeLists.txt @@ -2,4 +2,4 @@ add_library (bridge IBridge.cpp ) -target_link_libraries (bridge PRIVATE daemon dbms Poco::Data Poco::Data::ODBC) +target_link_libraries (bridge PRIVATE daemon dbms) diff --git a/src/Bridge/IBridge.cpp b/src/Bridge/IBridge.cpp index 1ea77573e5f..0f0efbd5eed 100644 --- a/src/Bridge/IBridge.cpp +++ b/src/Bridge/IBridge.cpp @@ -20,11 +20,6 @@ #include "config.h" -#if USE_ODBC -# include -#endif - - namespace DB { diff --git a/src/Dictionaries/CMakeLists.txt b/src/Dictionaries/CMakeLists.txt index 0260804ab5b..c9dd554a6f1 100644 --- a/src/Dictionaries/CMakeLists.txt +++ b/src/Dictionaries/CMakeLists.txt @@ -26,7 +26,6 @@ target_link_libraries(clickhouse_dictionaries clickhouse_common_io dbms Poco::Data - Poco::Data::ODBC Poco::MongoDB Poco::Redis string_utils