mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-13 09:52:38 +00:00
10 lines
341 B
CMake
10 lines
341 B
CMake
|
set(ANNOY_PROJECT_DIR "${ClickHouse_SOURCE_DIR}/contrib/annoy")
|
||
|
set(ANNOY_SOURCE_DIR "${ANNOY_PROJECT_DIR}/src")
|
||
|
|
||
|
add_library(_annoy ${ANNOY_SOURCE_DIR}/annoylib.h)
|
||
|
target_include_directories(_annoy SYSTEM PUBLIC ${ANNOY_SOURCE_DIR})
|
||
|
set_target_properties(_annoy PROPERTIES LINKER_LANGUAGE CXX)
|
||
|
|
||
|
add_library(ch_contrib::annoy ALIAS _annoy)
|
||
|
|