mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
contrib/nanodbc: add hidden library
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
This commit is contained in:
parent
e81586cd8d
commit
bbf80396f9
@ -12,8 +12,7 @@ set (SRCS
|
|||||||
"${LIBRARY_DIR}/nanodbc/nanodbc.cpp"
|
"${LIBRARY_DIR}/nanodbc/nanodbc.cpp"
|
||||||
)
|
)
|
||||||
|
|
||||||
add_library(nanodbc ${SRCS})
|
add_library(_nanodbc ${SRCS})
|
||||||
|
target_link_libraries(_nanodbc PUBLIC ch_contrib::unixodbc)
|
||||||
target_link_libraries (nanodbc PUBLIC ch_contrib::unixodbc)
|
target_include_directories(_nanodbc SYSTEM PUBLIC "${LIBRARY_DIR}/")
|
||||||
target_include_directories (nanodbc SYSTEM PUBLIC "${LIBRARY_DIR}/")
|
add_library(ch_contrib::nanodbc ALIAS _nanodbc)
|
||||||
add_library(ch_contrib::nanodbc ALIAS nanodbc)
|
|
||||||
|
Loading…
Reference in New Issue
Block a user