zeromq / zmqpp

0mq 'highlevel' C++ bindings
http://zeromq.github.io/zmqpp
Mozilla Public License 2.0
439 stars 195 forks source link

Fix build in some rare case. #95

Closed xaqq closed 9 years ago

xaqq commented 9 years ago

Problem: My previous update to CMake was incomplete. It looks like if zmq.h was present in /usr/local/include it had precedence over the one from libzmq folder (that we built with CMake). This patch to CMakeFile make sure that we use the custom include path first, thus avoiding this problem.

Problem: curve.hpp missed an include of zmq.h, therefore causing ZMQ_VERSION_MAJOR to be undefined.