mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
contrib/libmetrohash: add ALIAS library
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
This commit is contained in:
parent
dd9be82c29
commit
dc7affd813
@ -2,5 +2,6 @@ set (SRCS
|
|||||||
src/metrohash64.cpp
|
src/metrohash64.cpp
|
||||||
src/metrohash128.cpp
|
src/metrohash128.cpp
|
||||||
)
|
)
|
||||||
add_library(metrohash ${SRCS})
|
add_library(_metrohash ${SRCS})
|
||||||
target_include_directories(metrohash PUBLIC src)
|
target_include_directories(_metrohash PUBLIC src)
|
||||||
|
add_library(ch_contrib::metrohash ALIAS _metrohash)
|
||||||
|
@ -20,7 +20,7 @@ target_link_libraries(clickhouse_functions
|
|||||||
clickhouse_parsers
|
clickhouse_parsers
|
||||||
ch_contrib::consistent_hashing
|
ch_contrib::consistent_hashing
|
||||||
dbms
|
dbms
|
||||||
metrohash
|
ch_contrib::metrohash
|
||||||
murmurhash
|
murmurhash
|
||||||
|
|
||||||
PRIVATE
|
PRIVATE
|
||||||
|
@ -5,7 +5,7 @@ add_executable (hash_map_lookup hash_map_lookup.cpp)
|
|||||||
target_link_libraries (hash_map_lookup PRIVATE dbms)
|
target_link_libraries (hash_map_lookup PRIVATE dbms)
|
||||||
|
|
||||||
add_executable (hash_map3 hash_map3.cpp)
|
add_executable (hash_map3 hash_map3.cpp)
|
||||||
target_link_libraries (hash_map3 PRIVATE dbms ch_contrib::farmhash metrohash)
|
target_link_libraries (hash_map3 PRIVATE dbms ch_contrib::farmhash ch_contrib::metrohash)
|
||||||
|
|
||||||
add_executable (hash_map_string hash_map_string.cpp)
|
add_executable (hash_map_string hash_map_string.cpp)
|
||||||
target_link_libraries (hash_map_string PRIVATE dbms ch_contrib::sparsehash)
|
target_link_libraries (hash_map_string PRIVATE dbms ch_contrib::sparsehash)
|
||||||
@ -14,7 +14,7 @@ add_executable (hash_map_string_2 hash_map_string_2.cpp)
|
|||||||
target_link_libraries (hash_map_string_2 PRIVATE dbms)
|
target_link_libraries (hash_map_string_2 PRIVATE dbms)
|
||||||
|
|
||||||
add_executable (hash_map_string_3 hash_map_string_3.cpp)
|
add_executable (hash_map_string_3 hash_map_string_3.cpp)
|
||||||
target_link_libraries (hash_map_string_3 PRIVATE dbms ch_contrib::farmhash metrohash)
|
target_link_libraries (hash_map_string_3 PRIVATE dbms ch_contrib::farmhash ch_contrib::metrohash)
|
||||||
|
|
||||||
add_executable (hash_map_string_small hash_map_string_small.cpp)
|
add_executable (hash_map_string_small hash_map_string_small.cpp)
|
||||||
target_link_libraries (hash_map_string_small PRIVATE dbms ch_contrib::sparsehash)
|
target_link_libraries (hash_map_string_small PRIVATE dbms ch_contrib::sparsehash)
|
||||||
|
Loading…
Reference in New Issue
Block a user