From 9a0f196d34be3e71440ac382b91c3414d11a3a3b Mon Sep 17 00:00:00 2001 From: ych Date: Fri, 5 Jul 2019 17:48:02 +0800 Subject: [PATCH] Remove boost dependency from pkg-config template file Boost not provide pkg-config file, so if execute 'pkg-config --exist cppkafka' command with boost dependency, user always gets non-zero return. And PKG_SEARCH_MODULE in cmake use the command to check the status of cppkafka. The boost dependency should be removed for general usage can be works. --- cmake/cppkafka.pc.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/cppkafka.pc.in b/cmake/cppkafka.pc.in index 0ba0ac4..177260c 100644 --- a/cmake/cppkafka.pc.in +++ b/cmake/cppkafka.pc.in @@ -9,6 +9,6 @@ Url: https://github.com/mfontanini/cppkafka Description: C++ wrapper library on top of RdKafka Version: @CPPKAFKA_VERSION@ Requires: -Requires.private: rdkafka >= 0.9.4, boost +Requires.private: rdkafka >= 0.9.4 Libs: -L${libdir} -L${sharedlibdir} -lcppkafka Cflags: -I${includedir} -I${includedir}/cppkafka