mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
24f47e9e3a
Attempt to fix recursive_mutex lock failed.
34 lines
944 B
CMake
34 lines
944 B
CMake
set (CLICKHOUSE_LOCAL_SOURCES LocalServer.cpp)
|
|
|
|
set (CLICKHOUSE_LOCAL_LINK
|
|
PRIVATE
|
|
boost::program_options
|
|
clickhouse_aggregate_functions
|
|
clickhouse_common_config
|
|
clickhouse_common_io
|
|
clickhouse_functions
|
|
clickhouse_parsers
|
|
clickhouse_storages_system
|
|
clickhouse_table_functions
|
|
)
|
|
|
|
clickhouse_program_add(local)
|
|
|
|
if(NOT CLICKHOUSE_ONE_SHARED)
|
|
target_link_libraries(clickhouse-local-lib PRIVATE clickhouse-server-lib)
|
|
endif()
|
|
|
|
if (ENABLE_FUZZING)
|
|
add_compile_definitions(FUZZING_MODE=1)
|
|
set (WITH_COVERAGE ON)
|
|
add_executable(fuzz-clickhouse-local LocalServer.cpp ${SRCS})
|
|
target_link_libraries(fuzz-clickhouse-local PRIVATE
|
|
dbms
|
|
${LIB_FUZZING_ENGINE}
|
|
loggers
|
|
clickhouse_functions
|
|
clickhouse_aggregate_functions
|
|
clickhouse_storages_system
|
|
clickhouse_table_functions)
|
|
endif ()
|