2023-08-17 12:20:45 +00:00
|
|
|
set(FP16_PROJECT_DIR "${ClickHouse_SOURCE_DIR}/contrib/FP16")
|
|
|
|
set(ROBIN_MAP_PROJECT_DIR "${ClickHouse_SOURCE_DIR}/contrib/robin-map")
|
2024-05-11 13:05:24 +00:00
|
|
|
set(SIMSIMD_PROJECT_DIR "${ClickHouse_SOURCE_DIR}/contrib/SimSIMD")
|
|
|
|
set(USEARCH_PROJECT_DIR "${ClickHouse_SOURCE_DIR}/contrib/usearch")
|
2023-08-17 12:20:45 +00:00
|
|
|
|
2023-08-15 12:00:27 +00:00
|
|
|
add_library(_usearch INTERFACE)
|
2023-08-17 12:20:45 +00:00
|
|
|
|
|
|
|
target_include_directories(_usearch SYSTEM INTERFACE
|
|
|
|
${FP16_PROJECT_DIR}/include
|
|
|
|
${ROBIN_MAP_PROJECT_DIR}/include
|
|
|
|
${SIMSIMD_PROJECT_DIR}/include
|
2024-05-11 13:05:24 +00:00
|
|
|
${USEARCH_PROJECT_DIR}/include)
|
2023-08-15 12:00:27 +00:00
|
|
|
|
|
|
|
add_library(ch_contrib::usearch ALIAS _usearch)
|