link libzmq against libgssapi_krb5 if found
This commit is contained in:
parent
d27d4526fe
commit
0473abf51d
|
@ -969,6 +969,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(GSSAPI_LIBRARY gssapi_krb5)
|
||||||
find_library(PROTOLIB_LIBRARY protolib)
|
find_library(PROTOLIB_LIBRARY protolib)
|
||||||
find_library(SODIUM_LIBRARY sodium)
|
find_library(SODIUM_LIBRARY sodium)
|
||||||
|
|
||||||
|
@ -984,6 +985,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(GSSAPI_LIBRARY)
|
||||||
|
set(ZMQ_LIB "${ZMQ_LIB};${GSSAPI_LIBRARY}")
|
||||||
|
endif()
|
||||||
if(PROTOLIB_LIBRARY)
|
if(PROTOLIB_LIBRARY)
|
||||||
set(ZMQ_LIB "${ZMQ_LIB};${PROTOLIB_LIBRARY}")
|
set(ZMQ_LIB "${ZMQ_LIB};${PROTOLIB_LIBRARY}")
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue