Skip to content

Commit

Permalink
morganstanley#158 but for MacOS: pass library existence check when dy…
Browse files Browse the repository at this point in the history
…namic library exists
  • Loading branch information
jcaesar committed Dec 23, 2024
1 parent 122678e commit dc2753c
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 @@ -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!")
Expand Down

0 comments on commit dc2753c

Please sign in to comment.