mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
b4339f266d
* Fix shared build * Major default libs refactor * Fix build with gcc_eh * Link all libraries as a big group. * Use global interface library as a group * Build capnproto using our cmake * Use only internal libunwind
18 lines
563 B
CMake
18 lines
563 B
CMake
find_package (Threads)
|
|
|
|
add_executable (zstd_test zstd_test.cpp)
|
|
if(ZSTD_LIBRARY)
|
|
target_link_libraries(zstd_test PRIVATE ${ZSTD_LIBRARY})
|
|
endif()
|
|
target_link_libraries (zstd_test PRIVATE common)
|
|
|
|
add_executable (mutator mutator.cpp)
|
|
target_link_libraries(mutator PRIVATE clickhouse_common_io)
|
|
|
|
add_executable (decompress_perf decompress_perf.cpp)
|
|
target_link_libraries(decompress_perf PRIVATE dbms ${LZ4_LIBRARY})
|
|
|
|
if (NOT USE_INTERNAL_ZSTD_LIBRARY AND ZSTD_INCLUDE_DIR)
|
|
target_include_directories (zstd_test BEFORE PRIVATE ${ZSTD_INCLUDE_DIR})
|
|
endif ()
|