ClickHouse/dbms/src/Client/CMakeLists.txt
proller db0fce346a Freebsd clang3.8 compile fixes (#352)
* Freebsd clang3.8 compile fixes

* clean
2017-01-18 01:00:23 +04:00

13 lines
512 B
CMake

include (${CMAKE_SOURCE_DIR}/cmake/find_readline_edit.cmake)
add_library (clickhouse-client Client.cpp)
target_link_libraries (clickhouse-client dbms ${LINE_EDITING_LIBS} ${Boost_PROGRAM_OPTIONS_LIBRARY})
install (FILES config.xml DESTINATION ${CLICKHOUSE_ETC_DIR}/clickhouse-client COMPONENT clickhouse-client)
add_library (clickhouse-benchmark Benchmark.cpp)
target_link_libraries (clickhouse-benchmark dbms ${Boost_PROGRAM_OPTIONS_LIBRARY})
if (ENABLE_TESTS)
add_subdirectory (tests)
endif (ENABLE_TESTS)