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
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

View file

@ -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)