mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
f4543f4b4e
The following libraries forces STATIC: - rockdb - libstemmer-c - lemmagen - mariadb-connector-c This is a preparation for USE_STATIC_LIBRARIES=OFF Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
11 lines
329 B
CMake
11 lines
329 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 ${SRCS})
|
|
target_include_directories(_lemmagen SYSTEM PUBLIC "${LEMMAGEN_INCLUDE_DIR}")
|
|
add_library(ch_contrib::lemmagen ALIAS _lemmagen)
|