From a82aee19d250fcf9ef479838b8cc87a27d50bd93 Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Fri, 10 Aug 2018 02:14:31 +0300 Subject: [PATCH] Better CMakeLists for rdkafka library [#CLICKHOUSE-2] --- contrib/librdkafka-cmake/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/librdkafka-cmake/CMakeLists.txt b/contrib/librdkafka-cmake/CMakeLists.txt index 96701c4f8a7..34f2315c33c 100644 --- a/contrib/librdkafka-cmake/CMakeLists.txt +++ b/contrib/librdkafka-cmake/CMakeLists.txt @@ -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})