Commit Graph

19 Commits

Author SHA1 Message Date
ych
de06b7ad4e Add boost include dir to pkg-config template file 2019-09-05 11:49:01 +08:00
ych
9a0f196d34 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.
2019-09-05 11:49:01 +08:00
Alexander Damian
58111bdf62 Removed RdKafka_LIBRARY_DIR as per code review 2019-09-03 14:56:46 -04:00
Alexander Damian
20b806037b Added options to conditionally disable installation of configuration files 2019-07-03 18:01:28 -04:00
Alexander Damian
ad800a5765 Added RdKafka hex version so that FindRdKafka.cmake can compile the test code. Changed find_dependency to find_package for the RdKafka config so that the script is not automatically exited on failure 2019-07-02 15:30:33 -04:00
Alexander Damian
ee30fabc2a Added INTERFACE_LINK_DIRECTORIES to the RdKafka::rdkafka properties 2019-07-01 14:57:19 -04:00
Alexander Damian
11a6e4213b Remove comment from config file relating to not finding the RdKafka config file. 2019-06-30 19:39:31 -04:00
Alexander Damian
c4b6a95438 Fixes per code review 2019-06-30 19:30:13 -04:00
Alexander Damian
d20cab69f3 Add CMake configuration file and export installed targets 2019-06-29 01:50:29 -04:00
Pras Velagapudi
85b7e579e2 Use CMAKE_STATIC_LIBRARY_* macros for FindRdKafka
In the current implementation, library suffixes are hard coded from a hand-maintained list.  Instead of writing this list, we can use the CMake macros for platform specific library prefix/suffixes.

E.g. https://cmake.org/cmake/help/v3.0/variable/CMAKE_STATIC_LIBRARY_SUFFIX.html

This also resolves library resolution on Mac OSX, which does not currently work on the native `.dylib`  suffix for shared libraries.
2019-01-12 15:51:11 -05:00
Alex Damian
069ea3df8e Specific linking option for rdkafka library (#94) 2018-06-25 07:03:11 -07:00
Matias Fontanini
d458e4d668 Add uninstall target 2017-06-05 19:38:34 -07:00
Matias Fontanini
b5225926b4 Make FindRdKafka.cmake work on Windows 2017-06-03 12:06:41 -07:00
Matias Fontanini
f5c8c7c3c8 Require rdkafka v0.9.4 to build 2017-04-16 10:29:15 -07:00
Matias Fontanini
8143c5b06a Add KafkaHandleBase::get_offsets_for_times 2017-04-15 19:21:51 -07:00
Matias Fontanini
a12c0eb1f8 Check for rd_kafka_commited to check for valid rdkafka version 2016-06-17 15:47:26 -07:00
Matias Fontanini
0fb0afc4f4 Remove zookeeper support 2016-06-16 20:22:36 -07:00
Matias Fontanini
d90f039a87 Find rdkafka via cmake 2016-06-14 19:03:20 -07:00
Matias Fontanini
5dcf01c1fc Find zookeeper and boost properly using cmake 2016-06-13 20:53:54 -07:00