Skip to content

Commit

Permalink
#158: Added shared library support for librdkafka. This was necessary…
Browse files Browse the repository at this point in the history
… because it was not necessary to include the shared library for compiling
  • Loading branch information
KBaur authored and kenneth-jia committed Aug 17, 2022
1 parent f7d0e11 commit eaee0b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ if (NOT BUILD_OPTION_DOC_ONLY)
message(FATAL_ERROR "Could not find headers: librdkafka!")
endif ()

if (EXISTS "${LIBRDKAFKA_LIBRARY_DIR}/librdkafka.a" 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" )
message(STATUS "librdkafka library directory: ${LIBRDKAFKA_LIBRARY_DIR}")
else ()
message(FATAL_ERROR "Could not find library: librdkafka!")
Expand Down

0 comments on commit eaee0b9

Please sign in to comment.