ClickHouse/programs/server/fuzzers/CMakeLists.txt

16 lines
460 B
CMake
Raw Normal View History

2022-10-24 00:51:57 +00:00
clickhouse_add_executable(tcp_protocol_fuzzer tcp_protocol_fuzzer.cpp ../Server.cpp ../MetricsTransmitter.cpp)
set (TCP_PROTOCOL_FUZZER_LINK
PRIVATE
daemon
clickhouse_aggregate_functions
clickhouse_functions
clickhouse_table_functions
)
if (TARGET ch_contrib::jemalloc)
list(APPEND TCP_PROTOCOL_FUZZER_LINK PRIVATE ch_contrib::jemalloc)
endif()
target_link_libraries(tcp_protocol_fuzzer ${TCP_PROTOCOL_FUZZER_LINK})