We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d458e4d commit 67022dbCopy full SHA for 67022db
README.md
@@ -62,6 +62,8 @@ cmake ..
62
make
63
```
64
65
+## CMake options
66
+
67
If you have installed _librdkafka_ on a non standard directory, you can use the
68
`RDKAFKA_ROOT_DIR` cmake parameter when configuring the project:
69
@@ -73,6 +75,15 @@ Note that finding _librdkafka_ will succeed iff there's an _include_ and _lib_
73
75
directories inside the specified path, including both the _rdkafka.h_ header
74
76
and the _librdkafka_ library file.
77
78
+---
79
80
+By default, a shared library will be built. If you want to perform a static build,
81
+use the _CPPKAFKA_BUILD_SHARED_ parameter:
82
83
+```Shell
84
+cmake .. -DCPPKAFKA_BUILD_SHARED=0
85
+```
86
87
# Using
88
89
If you want to use _cppkafka_, you'll need to link your application with:
0 commit comments