aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2019-09-24 10:40:44 -0500
committerluigi1111 <luigi1111w@gmail.com>2019-09-24 10:40:44 -0500
commitcb2bb1a9b865aff58e28ef00c97b69dde3166e7a (patch)
tree0697d197c0e7f56efac796dee85a6ebc9928e8ed /CMakeLists.txt
parentMerge pull request #5905 (diff)
parentcmake: add protolib to zmq dependency libs (diff)
downloadmonero-cb2bb1a9b865aff58e28ef00c97b69dde3166e7a.tar.xz
Merge pull request #5907
3699544 cmake: add protolib to zmq dependency libs (stoffu)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0d8ea088b..6b4cc80d3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -944,6 +944,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(PROTOLIB_LIBRARY protolib)
find_library(SODIUM_LIBRARY sodium)
if(NOT ZMQ_INCLUDE_PATH)
@@ -958,6 +959,9 @@ endif()
if(NORM_LIBRARY)
set(ZMQ_LIB "${ZMQ_LIB};${NORM_LIBRARY}")
endif()
+if(PROTOLIB_LIBRARY)
+ set(ZMQ_LIB "${ZMQ_LIB};${PROTOLIB_LIBRARY}")
+endif()
if(SODIUM_LIBRARY)
set(ZMQ_LIB "${ZMQ_LIB};${SODIUM_LIBRARY}")
endif()