ClickHouse/programs/server/fuzzers/CMakeLists.txt
2023-09-01 14:20:50 +00:00

16 lines
460 B
CMake

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})