Fix build

This commit is contained in:
alesapin 2022-03-04 19:39:11 +01:00
parent 5416b567d5
commit c5a456802f
2 changed files with 2 additions and 1 deletions

View File

@ -3,7 +3,7 @@ add_headers_and_sources(loggers .)
# Standart version depends on DBMS and works with text log
add_library(loggers ${loggers_sources} ${loggers_headers})
target_compile_definitions (loggers PRIVATE -DWITH_TEXT_LOG)
target_compile_definitions(loggers PUBLIC WITH_TEXT_LOG=1)
target_link_libraries(loggers PRIVATE dbms clickhouse_common_io)
target_include_directories(loggers PUBLIC ..)

View File

@ -2,6 +2,7 @@ include(${ClickHouse_SOURCE_DIR}/cmake/embed_binary.cmake)
set(CLICKHOUSE_KEEPER_SOURCES
Keeper.cpp
TinyContext.cpp
)
if (OS_LINUX)