mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-12-23 13:47:47 +00:00
fixed miniupnpc static building
This commit is contained in:
parent
0e21944b97
commit
d34f681ed6
1 changed files with 1 additions and 1 deletions
2
external/CMakeLists.txt
vendored
2
external/CMakeLists.txt
vendored
|
@ -216,7 +216,7 @@ MARK_AS_ADVANCED(MINIUPNP_INCLUDE_DIR MINIUPNP_LIBRARY)
|
||||||
|
|
||||||
# And now on to the Monero part of things
|
# And now on to the Monero part of things
|
||||||
|
|
||||||
if(MINIUPNP_FOUND AND MINIUPNPC_VERSION_1_7_OR_HIGHER)
|
if(MINIUPNP_FOUND AND MINIUPNPC_VERSION_1_7_OR_HIGHER AND !STATIC)
|
||||||
message(STATUS "Using shared miniupnpc found at ${MINIUPNP_INCLUDE_DIR}")
|
message(STATUS "Using shared miniupnpc found at ${MINIUPNP_INCLUDE_DIR}")
|
||||||
|
|
||||||
set(UPNP_STATIC false PARENT_SCOPE)
|
set(UPNP_STATIC false PARENT_SCOPE)
|
||||||
|
|
Loading…
Reference in a new issue