look for zmq.h instead of zmq.hpp, which is apparently missing in some installs.

This commit is contained in:
Nick Foster 2013-10-02 22:14:44 -04:00
parent aa5fdd17ea
commit ca4edd8808

View File

@ -25,7 +25,7 @@ IF(WIN32)
ENDIF(WIN32) ENDIF(WIN32)
FIND_LIBRARY(ZEROMQ_LIBRARY FIND_LIBRARY(ZEROMQ_LIBRARY
NAMES libzmq zmq NAMES libzmq zmq
HINTS ${PC_LIBZMQ_LIBDIR} ${PC_LIBZMQ_LIBRARY_DIRS} HINTS ${PC_LIBZMQ_LIBDIR} ${PC_LIBZMQ_LIBRARY_DIRS}
PATHS PATHS
${ZEROMQ_LIBRARIES} ${ZEROMQ_LIBRARIES}
@ -40,7 +40,7 @@ FIND_LIBRARY(ZEROMQ_LIBRARY
# ENDIF(ZeroMQ_FRAMEWORKS AND NOT ZEROMQ_INCLUDE_DIR) # ENDIF(ZeroMQ_FRAMEWORKS AND NOT ZEROMQ_INCLUDE_DIR)
FIND_PATH(ZEROMQ_INCLUDE_DIR FIND_PATH(ZEROMQ_INCLUDE_DIR
NAMES zmq.hpp NAMES zmq.h
PATHS PATHS
# ${ZEROMQ_FRAMEWORK_INCLUDES} # ${ZEROMQ_FRAMEWORK_INCLUDES}
${ZEROMQ_INCLUDE_DIRS} ${ZEROMQ_INCLUDE_DIRS}