mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
contrib/libpqxx: use hidden library
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
This commit is contained in:
parent
4114a17de0
commit
62631c07be
@ -70,9 +70,9 @@ set (HDRS
|
|||||||
"${LIBRARY_DIR}/include/pqxx/zview.hxx"
|
"${LIBRARY_DIR}/include/pqxx/zview.hxx"
|
||||||
)
|
)
|
||||||
|
|
||||||
add_library(libpqxx ${SRCS} ${HDRS})
|
add_library(_libpqxx ${SRCS} ${HDRS})
|
||||||
|
|
||||||
target_link_libraries(libpqxx PUBLIC ch_contrib::libpq)
|
target_link_libraries(_libpqxx PUBLIC ch_contrib::libpq)
|
||||||
target_include_directories (libpqxx SYSTEM BEFORE PUBLIC "${LIBRARY_DIR}/include")
|
target_include_directories (_libpqxx SYSTEM BEFORE PUBLIC "${LIBRARY_DIR}/include")
|
||||||
|
|
||||||
add_library(ch_contrib::libpqxx ALIAS libpqxx)
|
add_library(ch_contrib::libpqxx ALIAS _libpqxx)
|
||||||
|
Loading…
Reference in New Issue
Block a user