mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 09:02:00 +00:00
11 lines
333 B
CMake
11 lines
333 B
CMake
set(LIBRARY_DIR "${ClickHouse_SOURCE_DIR}/contrib/lemmagen-c")
|
|
set(LEMMAGEN_INCLUDE_DIR "${LIBRARY_DIR}/include")
|
|
|
|
set(SRCS
|
|
"${LIBRARY_DIR}/src/RdrLemmatizer.cpp"
|
|
)
|
|
|
|
add_library(lemmagen STATIC ${SRCS})
|
|
target_include_directories(lemmagen SYSTEM PUBLIC "${LEMMAGEN_INCLUDE_DIR}")
|
|
add_library(ch_contrib::lemmagen ALIAS lemmagen)
|