Better CMakeLists for rdkafka library [#CLICKHOUSE-2]

This commit is contained in:
Alexey Milovidov 2018-08-10 02:14:31 +03:00
parent 497c8fb742
commit a82aee19d2

View File

@ -56,4 +56,5 @@ ${RDKAFKA_SOURCE_DIR}/rdgz.c
add_library(rdkafka STATIC ${SRCS})
target_include_directories(rdkafka PRIVATE include)
target_include_directories(rdkafka PUBLIC ${RDKAFKA_SOURCE_DIR})
target_link_libraries(rdkafka PUBLIC ${ZLIB_LIBRARIES} ${OPENSSL_SSL_LIBRARY} ${OPENSSL_CRYPTO_LIBRARY})