miniupnpc added

This commit is contained in:
moneroexamples 2020-08-24 20:14:43 +08:00
parent 38f2700fd5
commit 4c59750ed2
2 changed files with 7 additions and 5 deletions

View File

@ -124,21 +124,22 @@ set(LIBRARIES
mstch mstch
wallet wallet
blockchain_db blockchain_db
device
cryptonote_core cryptonote_core
cryptonote_protocol cryptonote_protocol
cryptonote_basic cryptonote_basic
multisig multisig
daemonizer daemonizer
cncrypto
blocks blocks
lmdb lmdb
ringct ringct
ringct_basic ringct_basic
device
common common
mnemonics mnemonics
easylogging easylogging
checkpoints checkpoints
cncrypto
miniupnpc
version version
epee epee
hardforks hardforks

View File

@ -31,7 +31,7 @@
set(LIBS common;blocks;cryptonote_basic;cryptonote_core;multisig; set(LIBS common;blocks;cryptonote_basic;cryptonote_core;multisig;
cryptonote_protocol;daemonizer;mnemonics;epee;lmdb;device; cryptonote_protocol;daemonizer;mnemonics;epee;lmdb;device;
blockchain_db;ringct;wallet;cncrypto;easylogging;version; blockchain_db;ringct;wallet;cncrypto;easylogging;version;
checkpoints;randomx;hardforks) checkpoints;randomx;hardforks;miniupnpc)
set(Xmr_INCLUDE_DIRS "${CPP_MONERO_DIR}") set(Xmr_INCLUDE_DIRS "${CPP_MONERO_DIR}")
@ -45,7 +45,7 @@ foreach (l ${LIBS})
find_library(Xmr_${L}_LIBRARY find_library(Xmr_${L}_LIBRARY
NAMES ${l} NAMES ${l}
PATHS ${CMAKE_LIBRARY_PATH} 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 NO_DEFAULT_PATH
) )
@ -77,4 +77,5 @@ include_directories(
${MONERO_SOURCE_DIR}/build ${MONERO_SOURCE_DIR}/build
${MONERO_SOURCE_DIR}/external/easylogging++ ${MONERO_SOURCE_DIR}/external/easylogging++
${MONERO_SOURCE_DIR}/contrib/epee/include ${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)