diff --git a/CMakeLists.txt b/CMakeLists.txt index a2e90fe..1ed028f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -124,21 +124,22 @@ set(LIBRARIES mstch wallet blockchain_db + device cryptonote_core cryptonote_protocol cryptonote_basic multisig daemonizer - cncrypto blocks lmdb ringct ringct_basic - device common mnemonics easylogging checkpoints + cncrypto + miniupnpc version epee hardforks diff --git a/cmake/FindMonero.cmake b/cmake/FindMonero.cmake index d02aa6b..7ef5c44 100644 --- a/cmake/FindMonero.cmake +++ b/cmake/FindMonero.cmake @@ -31,7 +31,7 @@ set(LIBS common;blocks;cryptonote_basic;cryptonote_core;multisig; cryptonote_protocol;daemonizer;mnemonics;epee;lmdb;device; blockchain_db;ringct;wallet;cncrypto;easylogging;version; - checkpoints;randomx;hardforks) + checkpoints;randomx;hardforks;miniupnpc) set(Xmr_INCLUDE_DIRS "${CPP_MONERO_DIR}") @@ -45,7 +45,7 @@ foreach (l ${LIBS}) find_library(Xmr_${L}_LIBRARY NAMES ${l} PATHS ${CMAKE_LIBRARY_PATH} - PATH_SUFFIXES "/src/${l}" "/src/" "/external/db_drivers/lib${l}" "/lib" "/src/crypto" "/contrib/epee/src" "/external/easylogging++/" "/external/${l}" + PATH_SUFFIXES "/src/${l}" "/src/" "/external/db_drivers/lib${l}" "/lib" "/src/crypto" "/contrib/epee/src" "/external/easylogging++/" "/external/${l}" "external/miniupnp/miniupnpc" NO_DEFAULT_PATH ) @@ -77,4 +77,5 @@ include_directories( ${MONERO_SOURCE_DIR}/build ${MONERO_SOURCE_DIR}/external/easylogging++ ${MONERO_SOURCE_DIR}/contrib/epee/include - ${MONERO_SOURCE_DIR}/external/db_drivers/liblmdb) + ${MONERO_SOURCE_DIR}/external/db_drivers/liblmdb + ${MONERO_SOURCE_DIR}/generated_include/crypto/wallet)