Skip to content
Snippets Groups Projects
Commit 2dc64e90 authored by Sergey Yakubov's avatar Sergey Yakubov
Browse files

update hints and cmake message

parent 47584013
Branches
Tags
No related merge requests found
......@@ -21,7 +21,10 @@ endif()
find_package(RdKafka REQUIRED)
message (STATUS "Found rdkafka++ libraries: ${RDKAFKA_LIBRARIES}")
message (STATUS "rdkafka++ include: ${RDKAFKA_INCLUDE_DIR}")
message (STATUS "rdkafka++ include dir : ${RDKAFKA_INCLUDE_DIR}")
if (WIN32)
message (STATUS "rdkafka++ binary dir (dll): ${RDKAFKA_BIN_DIR}")
endif()
# python is needed anyway, even if no Python packages are build (e.g. to parse test results)
if ("${Python_EXECUTABLE}" STREQUAL "")
......
......@@ -12,7 +12,7 @@ cmake_minimum_required(VERSION 3.12)
find_path(RDKAFKA_INCLUDE_DIR librdkafka/rdkafka.h HINTS ${RdKafka_DIR}/include)
find_library(RDKAFKA_LIBRARIES rdkafka++ HINTS ${RdKafka_DIR}/lib ${RdKafka_DIR}/lib64)
IF(WIN32)
find_path(RDKAFKA_BIN_DIR rdkafka++.dll HINTS ${RdKafka_DIR}/bin)
find_path(RDKAFKA_BIN_DIR rdkafka++.dll HINTS ${RdKafka_DIR}/bin ${RdKafka_DIR}/lib)
mark_as_advanced(RDKAFKA_BIN_DIR)
find_package_handle_standard_args(RdKafka REQUIRED_VARS RDKAFKA_INCLUDE_DIR RDKAFKA_LIBRARIES RDKAFKA_BIN_DIR)
ELSE()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment