-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
librdkafka: add version 1.9.1 and remove older versions #11882
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@toge probably the project is using CMake with |
@uilianries |
All green in build 3 (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @toge !!!
"ssl": False, | ||
"sasl": False, | ||
"curl": False, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
too bad these dont follow the convention/rule in the docs
} | ||
|
||
generators = "cmake", "cmake_find_package", "pkg_config" | ||
generators = "cmake", "cmake_find_package_multi", "pkg_config" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please keep cmake_find_package
generator as well. You never want to have cmake_find_package_multi
without cmake_find_package
when there are dependencies part of https://cmake.org/cmake/help/latest/manual/cmake-modules.7.html#find-modules
- target_link_libraries(rdkafka PRIVATE ${ZSTD_LIBRARY}) | ||
- target_include_directories(rdkafka PRIVATE ${ZSTD_INCLUDE_DIR}) | ||
- message(STATUS "Found ZSTD: ${ZSTD_LIBRARY}") | ||
+ target_link_libraries(rdkafka PRIVATE zstd::zstd) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will break with CMakeDeps
#12022 addresses my review |
Specify library name and version: librdkafka/*
curl
options because librdkafka >=1.9.0 requires libcurl whenWITH_CURL
is ON.conan.tools.build.cross_building