ClickHouse/contrib/wordnet-blast-cmake/CMakeLists.txt
Azat Khuzhin d7bacb6611 contrib/wordnet-blast: use hidden library
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-01-21 10:11:23 +03:00

13 lines
410 B
CMake

set(LIBRARY_DIR "${ClickHouse_SOURCE_DIR}/contrib/wordnet-blast")
set(SRCS
"${LIBRARY_DIR}/wnb/core/info_helper.cc"
"${LIBRARY_DIR}/wnb/core/load_wordnet.cc"
"${LIBRARY_DIR}/wnb/core/wordnet.cc"
)
add_library(_wnb ${SRCS})
target_link_libraries(_wnb PRIVATE boost::headers_only boost::graph)
target_include_directories(_wnb SYSTEM PUBLIC "${LIBRARY_DIR}")
add_library(ch_contrib::wnb ALIAS _wnb)