We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a5ad93 commit 7d998c5Copy full SHA for 7d998c5
rdkafka-sys/build.rs
@@ -213,7 +213,10 @@ fn build_librdkafka() {
213
// want a stable location that we can add to the linker search path.
214
// Since we're not actually installing to /usr or /usr/local, there's no
215
// harm to always using "lib" here.
216
- .define("CMAKE_INSTALL_LIBDIR", "lib");
+ .define("CMAKE_INSTALL_LIBDIR", "lib")
217
+ // CMake 4.0.0 drops support for 3.2 compatibility, which is
218
+ // required by librdkafka 2.3.0.
219
+ .define("CMAKE_POLICY_VERSION_MINIMUM", "3.5");
220
221
if env::var("CARGO_FEATURE_LIBZ").is_ok() {
222
config.define("WITH_ZLIB", "1");
0 commit comments