Skip to content

Commit eaee0b9

Browse files
KBaurkenneth-jia
authored andcommitted
morganstanley#158: Added shared library support for librdkafka. This was necessary because it was not necessary to include the shared library for compiling
1 parent f7d0e11 commit eaee0b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ if (NOT BUILD_OPTION_DOC_ONLY)
5353
message(FATAL_ERROR "Could not find headers: librdkafka!")
5454
endif ()
5555

56-
if (EXISTS "${LIBRDKAFKA_LIBRARY_DIR}/librdkafka.a" OR EXISTS "${LIBRDKAFKA_LIBRARY_DIR}/rdkafka.lib" )
56+
if (EXISTS "${LIBRDKAFKA_LIBRARY_DIR}/librdkafka.a" OR EXISTS "${LIBRDKAFKA_LIBRARY_DIR}/librdkafka.so" OR EXISTS "${LIBRDKAFKA_LIBRARY_DIR}/rdkafka.lib" )
5757
message(STATUS "librdkafka library directory: ${LIBRDKAFKA_LIBRARY_DIR}")
5858
else ()
5959
message(FATAL_ERROR "Could not find library: librdkafka!")

0 commit comments

Comments
 (0)