mirror of
https://github.com/vtnerd/monero-lws.git
synced 2025-04-06 21:57:29 +00:00
Update CMakeLists.txt
This commit is contained in:
parent
6a03bd10dd
commit
0d6a804bd5
1 changed files with 3 additions and 2 deletions
|
@ -124,7 +124,6 @@ load_cache(${MONERO_BUILD_DIR} READ_WITH_PREFIX monero_
|
|||
NORM_LIBRARY
|
||||
GSSAPI_LIBRARY
|
||||
PROTOLIB_LIBRARY
|
||||
SODIUM_LIBRARY
|
||||
)
|
||||
|
||||
if (NOT (monero_monero_SOURCE_DIR MATCHES "${MONERO_SOURCE_DIR}(/src/cryptonote_protocol)"))
|
||||
|
@ -192,7 +191,9 @@ endif()
|
|||
if(monero_PROTOLIB_LIBRARY)
|
||||
set(ZMQ_LIB "${ZMQ_LIB};${monero_PROTOLIB_LIBRARY}")
|
||||
endif()
|
||||
if(monero_SODIUM_LIBRARY)
|
||||
if(NOT monero_SODIUM_LIBRARY)
|
||||
message(FATAL_ERROR "Could not find Sodium Library")
|
||||
else ()
|
||||
set(ZMQ_LIB "${ZMQ_LIB};${monero_SODIUM_LIBRARY}")
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in a new issue