Require rdkafka v0.9.4 to build

This commit is contained in:
Matias Fontanini
2017-04-16 10:29:15 -07:00
parent f924eb68e7
commit f5c8c7c3c8
5 changed files with 1 additions and 27 deletions

View File

@@ -23,8 +23,7 @@ find_package_handle_standard_args(RDKAFKA DEFAULT_MSG
include(CheckFunctionExists)
set(CMAKE_REQUIRED_LIBRARIES ${RDKAFKA_LIBRARY})
check_function_exists(rd_kafka_committed HAVE_VALID_KAFKA_VERSION)
check_function_exists(rd_kafka_offsets_for_times HAVE_OFFSETS_FOR_TIMES)
check_function_exists(rd_kafka_offsets_for_times HAVE_VALID_KAFKA_VERSION)
set(CMAKE_REQUIRED_LIBRARIES)
if (HAVE_VALID_KAFKA_VERSION)