Problem: version detection broken, confuses libzmq and cppzmq versions

Solution: Fix version detection and cmake syntax errors
Fixes #182
This commit is contained in:
Simon Giesecke
2018-03-28 12:46:59 +02:00
parent 702d2fcf53
commit 7a8cc9d7cf
6 changed files with 47 additions and 10 deletions

View File

@@ -53,6 +53,13 @@
#include <string>
#include <vector>
/* Version macros for compile-time API version detection */
#define CPPZMQ_VERSION_MAJOR 4
#define CPPZMQ_VERSION_MINOR 3
#define CPPZMQ_VERSION_PATCH 0
#define CPPZMQ_VERSION \
ZMQ_MAKE_VERSION (CPPZMQ_VERSION_MAJOR, CPPZMQ_VERSION_MINOR, CPPZMQ_VERSION_PATCH)
#ifdef ZMQ_CPP11
#include <chrono>