Drop miniupnpc from link lists (wownero builds without UPnP)

Wownero's build tree ships no libminiupnpc.a and none of its libraries
reference UPnP symbols, so FindMonero fails with
Xmr_MINIUPNPC_LIBRARY-NOTFOUND and the explorer will not link against
current wownero. Remove miniupnpc from the library lists in
CMakeLists.txt and cmake/FindMonero.cmake.

Build fix from lza_menace's wownero.patch (github.com/lalanza808).

Co-authored-by: lza_menace <lza_menace@protonmail.com>
This commit is contained in:
jwinterm
2026-07-11 10:46:03 -04:00
co-authored by lza_menace
parent 66112a2208
commit 17848e344e
2 changed files with 2 additions and 3 deletions
-1
View File
@@ -159,7 +159,6 @@ set(LIBRARIES
easylogging
checkpoints
cncrypto
miniupnpc
version
epee
hardforks
+1 -1
View File
@@ -31,7 +31,7 @@
set(LIBS common;blocks;cryptonote_basic;cryptonote_core;multisig;
cryptonote_protocol;daemonizer;mnemonics;epee;lmdb;device;wallet-crypto;
blockchain_db;ringct;wallet;cncrypto;easylogging;version;
checkpoints;randomx;hardforks;miniupnpc)
checkpoints;randomx;hardforks)
set(Xmr_INCLUDE_DIRS "${CPP_MONERO_DIR}")