diff options
author | Riccardo Spagni <ric@spagni.net> | 2014-09-21 02:23:28 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2014-09-21 02:23:28 +0200 |
commit | d34f681ed6fb4d75c5ef0eaae22c910cdb292b7a (patch) | |
tree | 29d7f602c1048e48b8493dfa60f9a9a8cdcbd3df /external/CMakeLists.txt | |
parent | turns out we do need -static-libgcc etc. on Linux (diff) | |
download | monero-d34f681ed6fb4d75c5ef0eaae22c910cdb292b7a.tar.xz |
fixed miniupnpc static building
Diffstat (limited to '')
-rwxr-xr-x | external/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/external/CMakeLists.txt b/external/CMakeLists.txt index fd8cd4eb7..177c2115e 100755 --- a/external/CMakeLists.txt +++ b/external/CMakeLists.txt @@ -216,7 +216,7 @@ MARK_AS_ADVANCED(MINIUPNP_INCLUDE_DIR MINIUPNP_LIBRARY) # 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}") set(UPNP_STATIC false PARENT_SCOPE) |