aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2022-10-28 00:49:22 -0400
committerluigi1111 <luigi1111w@gmail.com>2022-10-28 00:49:22 -0400
commit05ccf6804f2c3f34f18db4e75164faf4017558f2 (patch)
treebc1eaf1567edc086de2c0246609150b3b9f52832
parentMerge pull request #8543 (diff)
parentFix static builds for Ubuntu 22.04 (diff)
downloadmonero-05ccf6804f2c3f34f18db4e75164faf4017558f2.tar.xz
Merge pull request #8564
f69adef Fix static builds for Ubuntu 22.04 (AgoraDesk / LocalMonero)
-rw-r--r--CMakeLists.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b05c087cf..6ace6422d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1178,6 +1178,9 @@ find_library(NORM_LIBRARY norm)
find_library(GSSAPI_LIBRARY gssapi_krb5)
find_library(PROTOLIB_LIBRARY protolib)
find_library(SODIUM_LIBRARY sodium)
+find_library(BSD_LIBRARY bsd)
+find_library(MD_LIBRARY md)
+find_library(PROTOKIT_LIBRARY protokit)
if(NOT ZMQ_INCLUDE_PATH)
message(FATAL_ERROR "Could not find required header zmq.h")
@@ -1200,6 +1203,15 @@ endif()
if(SODIUM_LIBRARY)
set(ZMQ_LIB "${ZMQ_LIB};${SODIUM_LIBRARY}")
endif()
+if(BSD_LIBRARY)
+ set(ZMQ_LIB "${ZMQ_LIB};${BSD_LIBRARY}")
+endif()
+if(MD_LIBRARY)
+ set(ZMQ_LIB "${ZMQ_LIB};${MD_LIBRARY}")
+endif()
+if(PROTOKIT_LIBRARY)
+ set(ZMQ_LIB "${ZMQ_LIB};${PROTOKIT_LIBRARY}")
+endif()
include(external/supercop/functions.cmake) # place after setting flags and before src directory inclusion
add_subdirectory(contrib)