mirror of
https://github.com/monero-project/monero.git
synced 2024-11-17 08:17:37 +00:00
never use the baked-in miniupnpc on FreeBSD because explosions
This commit is contained in:
parent
f93de2f553
commit
524eae58cc
2 changed files with 1 additions and 3 deletions
|
@ -212,7 +212,5 @@ else()
|
||||||
include_directories(${UPNP_INCLUDE})
|
include_directories(${UPNP_INCLUDE})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
add_subdirectory(src)
|
add_subdirectory(src)
|
||||||
add_subdirectory(tests)
|
add_subdirectory(tests)
|
||||||
|
|
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 AND !STATIC)
|
if(MINIUPNP_FOUND AND MINIUPNPC_VERSION_1_7_OR_HIGHER AND !STATIC AND !FREEBSD)
|
||||||
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