link libzmq against libgssapi_krb5 if found

This commit is contained in:
moneromooo-monero 2020-09-17 14:51:33 +00:00 committed by wowario
parent 83fe535888
commit 10c30ea5aa
No known key found for this signature in database
GPG Key ID: 24DCBE762DE9C111
1 changed files with 4 additions and 0 deletions

View File

@ -992,6 +992,7 @@ find_path(ZMQ_INCLUDE_PATH zmq.h)
find_library(ZMQ_LIB zmq)
find_library(PGM_LIBRARY pgm)
find_library(NORM_LIBRARY norm)
find_library(GSSAPI_LIBRARY gssapi_krb5)
find_library(PROTOLIB_LIBRARY protolib)
find_library(SODIUM_LIBRARY sodium)
@ -1007,6 +1008,9 @@ endif()
if(NORM_LIBRARY)
set(ZMQ_LIB "${ZMQ_LIB};${NORM_LIBRARY}")
endif()
if(GSSAPI_LIBRARY)
set(ZMQ_LIB "${ZMQ_LIB};${GSSAPI_LIBRARY}")
endif()
if(PROTOLIB_LIBRARY)
set(ZMQ_LIB "${ZMQ_LIB};${PROTOLIB_LIBRARY}")
endif()