Find rdkafka via cmake

This commit is contained in:
Matias Fontanini
2016-06-14 19:03:20 -07:00
parent 5dcf01c1fc
commit d90f039a87
5 changed files with 56 additions and 8 deletions

View File

@@ -27,6 +27,8 @@ ExternalProject_Add(
find_package(Boost REQUIRED)
include_directories(${Boost_INCLUDE_DIRS})
find_package(RdKafka REQUIRED)
option(ENABLE_ZOOKEEPER "Whether to enable zookeeper support" ON)
if (ENABLE_ZOOKEEPER)
find_package(Zookeeper REQUIRED)