mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
contrib/consistent-hashing: add ALIAS library
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
This commit is contained in:
parent
f01d5b7641
commit
81880ac20c
@ -1,2 +1,3 @@
|
|||||||
add_library(consistent-hashing consistent_hashing.cpp popcount.cpp)
|
add_library(_consistent_hashing consistent_hashing.cpp popcount.cpp)
|
||||||
target_include_directories(consistent-hashing SYSTEM PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
target_include_directories(_consistent_hashing SYSTEM PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
||||||
|
add_library(ch_contrib::consistent_hashing ALIAS _consistent_hashing)
|
||||||
|
@ -522,7 +522,7 @@ if (TARGET ch_contrib::rapidjson)
|
|||||||
dbms_target_link_libraries(PRIVATE ch_contrib::rapidjson)
|
dbms_target_link_libraries(PRIVATE ch_contrib::rapidjson)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
dbms_target_link_libraries(PUBLIC consistent-hashing)
|
dbms_target_link_libraries(PUBLIC ch_contrib::consistent_hashing)
|
||||||
|
|
||||||
include ("${ClickHouse_SOURCE_DIR}/cmake/add_check.cmake")
|
include ("${ClickHouse_SOURCE_DIR}/cmake/add_check.cmake")
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ target_link_libraries(clickhouse_functions
|
|||||||
clickhouse_dictionaries
|
clickhouse_dictionaries
|
||||||
clickhouse_dictionaries_embedded
|
clickhouse_dictionaries_embedded
|
||||||
clickhouse_parsers
|
clickhouse_parsers
|
||||||
consistent-hashing
|
ch_contrib::consistent_hashing
|
||||||
dbms
|
dbms
|
||||||
metrohash
|
metrohash
|
||||||
murmurhash
|
murmurhash
|
||||||
|
Loading…
Reference in New Issue
Block a user