cloudflare/ClickHouse
Publicmirrored fromhttps://github.com/cloudflare/ClickHouse
utils/compressor/CMakeLists.txt
17lines · modecode
Remove "clickhouse_compression" library because it is not a library (cyclic dependency via IDataType)8abe099
6 years ago
| 1 | find_package (Threads) |
| 2 | |
| 3 | add_executable (zstd_test zstd_test.cpp) |
| 4 | if(ZSTD_LIBRARY) |
| 5 | target_link_libraries(zstd_test PRIVATE ${ZSTD_LIBRARY}) |
| 6 | endif() |
| 7 | target_link_libraries (zstd_test PRIVATE common Threads::Threads) |
| 8 | |
| 9 | add_executable (mutator mutator.cpp) |
| 10 | target_link_libraries(mutator PRIVATE clickhouse_common_io) |
| 11 | |
| 12 | add_executable (decompress_perf decompress_perf.cpp) |
| 13 | target_link_libraries(decompress_perf PRIVATE dbms ${LZ4_LIBRARY}) |
| 14 | |
| 15 | if (NOT USE_INTERNAL_ZSTD_LIBRARY AND ZSTD_INCLUDE_DIR) |
| 16 | target_include_directories (zstd_test BEFORE PRIVATE ${ZSTD_INCLUDE_DIR}) |
| 17 | endif () |