From 369787fb86bcd149f5acbb6fe5b5060ec97728c4 Mon Sep 17 00:00:00 2001 From: moneroexamples Date: Wed, 17 Nov 2021 07:14:36 +0800 Subject: [PATCH] update to current monero master branch --- CMakeLists.txt | 9 +++++---- cmake/FindMonero.cmake | 7 +++++++ 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c717b34..b5e9188 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -138,12 +138,13 @@ set(LIBRARIES myext mstch wallet - blockchain_db - device - ${WALLET_CRYPTO} cryptonote_core - cryptonote_protocol cryptonote_basic + cryptonote_protocol + cryptonote_format_utils_basic + blockchain_db + device + ${WALLET_CRYPTO} multisig daemonizer blocks diff --git a/cmake/FindMonero.cmake b/cmake/FindMonero.cmake index f9b73ae..64ceb39 100644 --- a/cmake/FindMonero.cmake +++ b/cmake/FindMonero.cmake @@ -67,6 +67,13 @@ if (EXISTS ${MONERO_BUILD_DIR}/src/ringct/libringct_basic.a) PROPERTY IMPORTED_LOCATION ${MONERO_BUILD_DIR}/src/ringct/libringct_basic.a) endif() +if (EXISTS ${MONERO_BUILD_DIR}/src/cryptonote_basic/libcryptonote_format_utils_basic.a) + message(STATUS FindMonero " found libcryptonote_format_utils_basic.a") + add_library(cryptonote_format_utils_basic STATIC IMPORTED) + set_property(TARGET cryptonote_format_utils_basic + PROPERTY IMPORTED_LOCATION ${MONERO_BUILD_DIR}/src/cryptonote_basic/libcryptonote_format_utils_basic.a) +endif() + message(STATUS ${MONERO_SOURCE_DIR}/build)