9 Commits

Author SHA1 Message Date
Min RK
8b92cb82aa fix updated FindZeroMQ
- remove duplicate top-level install
- copy fallback code to cppzmqConfig.cmake.in
2018-01-15 10:43:00 -08:00
Min RK
f4c0c5e6a3 call pkg-config fallback FindZeroMQ.cmake
and add it to CMAKE_MODULE_PATH on failed load

this allows downstream packages that have loaded cppzmq to call find_package(ZeroMQ) and succeed without shipping their own copy of the fallback.

Additionally, a check for if the libzmq target is defined avoids duplicate definitions when called multiple times
2018-01-13 14:13:38 -08:00
Martl
4ad7a811f0 added QUIET to avoid false cmake warning (missing ZeroMQ) 2017-08-17 21:15:23 +02:00
Axel Huebl
d1568bf1e9
Fix #121 CMake Min Version
CMake targets / interfaces need at least CMake 3.0
2017-07-19 10:43:07 +02:00
Axel Huebl
2008da35e6
Pkg-Config Fallback: File
move the new logic to a simple file so we
do not add code duplication
2017-07-18 20:15:41 +02:00
Axel Huebl
217985adf0
CMake: pkg-config Fallback
Try to find installs of `libzmq` that were performed with
autotools with a `pkg-config` fallback.
2017-07-18 14:39:41 +02:00
Stefan Herbrechtsmeier
aa850e7ec2 cmake: Export targets to package config
Export CMake targets to package config via interface libraries. This
allows the user to simple depends on this project and thereby gets
the additionally dependencies like ZeroMQ automatically.

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
2017-04-05 11:10:18 +02:00
Johan Mabille
15936cde8c setting cppzmq version to the one of libzmq 2017-01-10 18:10:09 +01:00
Johan Mabille
30c44492c2 cmake files for installation 2017-01-09 11:47:54 +01:00