Merge pull request #5907
3699544
cmake: add protolib to zmq dependency libs (stoffu)
This commit is contained in:
commit
cb2bb1a9b8
|
@ -944,6 +944,7 @@ find_path(ZMQ_INCLUDE_PATH zmq.h)
|
||||||
find_library(ZMQ_LIB zmq)
|
find_library(ZMQ_LIB zmq)
|
||||||
find_library(PGM_LIBRARY pgm)
|
find_library(PGM_LIBRARY pgm)
|
||||||
find_library(NORM_LIBRARY norm)
|
find_library(NORM_LIBRARY norm)
|
||||||
|
find_library(PROTOLIB_LIBRARY protolib)
|
||||||
find_library(SODIUM_LIBRARY sodium)
|
find_library(SODIUM_LIBRARY sodium)
|
||||||
|
|
||||||
if(NOT ZMQ_INCLUDE_PATH)
|
if(NOT ZMQ_INCLUDE_PATH)
|
||||||
|
@ -958,6 +959,9 @@ endif()
|
||||||
if(NORM_LIBRARY)
|
if(NORM_LIBRARY)
|
||||||
set(ZMQ_LIB "${ZMQ_LIB};${NORM_LIBRARY}")
|
set(ZMQ_LIB "${ZMQ_LIB};${NORM_LIBRARY}")
|
||||||
endif()
|
endif()
|
||||||
|
if(PROTOLIB_LIBRARY)
|
||||||
|
set(ZMQ_LIB "${ZMQ_LIB};${PROTOLIB_LIBRARY}")
|
||||||
|
endif()
|
||||||
if(SODIUM_LIBRARY)
|
if(SODIUM_LIBRARY)
|
||||||
set(ZMQ_LIB "${ZMQ_LIB};${SODIUM_LIBRARY}")
|
set(ZMQ_LIB "${ZMQ_LIB};${SODIUM_LIBRARY}")
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue