From 458d21dd3c2f8e7a8261c394b1470fe7930bcba2 Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Sun, 21 Aug 2022 12:12:11 +0200 Subject: [PATCH] Add "readpassphrase" as a dependency for clickhouse-local --- programs/local/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/programs/local/CMakeLists.txt b/programs/local/CMakeLists.txt index da466f725b3..ad4406156c4 100644 --- a/programs/local/CMakeLists.txt +++ b/programs/local/CMakeLists.txt @@ -18,6 +18,9 @@ if(NOT CLICKHOUSE_ONE_SHARED) target_link_libraries(clickhouse-local-lib PRIVATE clickhouse-server-lib) endif() +# Always use internal readpassphrase +target_link_libraries(clickhouse-local-lib PRIVATE readpassphrase) + if (ENABLE_FUZZING) add_compile_definitions(FUZZING_MODE=1) set (WITH_COVERAGE ON)