We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 76d175e + ba54a92 commit a7c696cCopy full SHA for a7c696c
CMakeLists.txt
@@ -92,6 +92,8 @@ endif()
92
93
if (CPPKAFKA_RDKAFKA_STATIC_LIB)
94
add_definitions("-DLIBRDKAFKA_STATICLIB")
95
+else ()
96
+ set(RDKAFKA_REQUIRES "rdkafka >= 0.9.4")
97
endif()
98
99
if (NOT CPPKAFKA_CONFIG_DIR)
cmake/cppkafka.pc.in
@@ -9,6 +9,6 @@ Url: https://github.com/mfontanini/cppkafka
9
Description: C++ wrapper library on top of RdKafka
10
Version: @CPPKAFKA_VERSION@
11
Requires:
12
-Requires.private: rdkafka >= 0.9.4
+Requires.private: @RDKAFKA_REQUIRES@
13
Libs: -L${libdir} -L${sharedlibdir} -lcppkafka
14
Cflags: -I${includedir} -I${includedir}/cppkafka -I@Boost_INCLUDE_DIRS@
0 commit comments