diff --git a/CMakeLists.txt b/CMakeLists.txt index 99022eee..6228f35b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -66,7 +66,7 @@ if (NOT BUILD_OPTION_DOC_ONLY) message(FATAL_ERROR "Could not find headers for librdkafka!") endif () - if (EXISTS "${LIBRDKAFKA_LIBRARY_DIR}/librdkafka.a" OR EXISTS "${LIBRDKAFKA_LIBRARY_DIR}/librdkafka.so" OR EXISTS "${LIBRDKAFKA_LIBRARY_DIR}/rdkafka.lib" ) + if (EXISTS "${LIBRDKAFKA_LIBRARY_DIR}/librdkafka.a" OR EXISTS "${LIBRDKAFKA_LIBRARY_DIR}/librdkafka.so" OR EXISTS "${LIBRDKAFKA_LIBRARY_DIR}/rdkafka.lib" OR EXISTS "${LIBRDKAFKA_LIBRARY_DIR}/librdkafka.dylib" ) message(STATUS "librdkafka library directory: ${LIBRDKAFKA_LIBRARY_DIR}") else () message(FATAL_ERROR "Could not find library for librdkafka!")