mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +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"
|
||||
)
|
||||
|
||||
add_library(nanodbc ${SRCS})
|
||||
|
||||
target_link_libraries (nanodbc PUBLIC ch_contrib::unixodbc)
|
||||
target_include_directories (nanodbc SYSTEM PUBLIC "${LIBRARY_DIR}/")
|
||||
add_library(ch_contrib::nanodbc ALIAS nanodbc)
|
||||
add_library(_nanodbc ${SRCS})
|
||||
target_link_libraries(_nanodbc PUBLIC ch_contrib::unixodbc)
|
||||
target_include_directories(_nanodbc SYSTEM PUBLIC "${LIBRARY_DIR}/")
|
||||
add_library(ch_contrib::nanodbc ALIAS _nanodbc)
|
||||
|
Loading…
Reference in New Issue
Block a user