aboutsummaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authortobtoht <tob@featherwallet.org>2026-04-26 15:20:13 +0000
committertobtoht <tob@featherwallet.org>2026-04-26 15:20:13 +0000
commitb2d591eac4f192d813deb34d6d7d426a6122f212 (patch)
treed62bd2686df5a2b284a3206611cbdace63803c05 /external
parent0f09b7518621044597d4953c8732101b46f3f42e (diff)
parent987e6d29133a493914a19b660051ca634fbed1d6 (diff)
downloadmonzero-core-b2d591eac4f192d813deb34d6d7d426a6122f212.tar.gz
monzero-core-b2d591eac4f192d813deb34d6d7d426a6122f212.tar.xz
monzero-core-b2d591eac4f192d813deb34d6d7d426a6122f212.zip
Merge pull request #10465
987e6d2 daemon: remove miniupnp (tobtoht)
Diffstat (limited to 'external')
-rw-r--r--external/CMakeLists.txt26
m---------external/miniupnp0
2 files changed, 0 insertions, 26 deletions
diff --git a/external/CMakeLists.txt b/external/CMakeLists.txt
index 538e4d215..5bdd5d9b4 100644
--- a/external/CMakeLists.txt
+++ b/external/CMakeLists.txt
@@ -28,32 +28,6 @@
#
# Parts of this file are originally copyright (c) 2012-2013 The Cryptonote developers
-
-# This is broken up into two parts: first we check for miniupnp, compile it if we can't
-# find it, and thereafter we check for libunbound, and compile it if we can't find it.
-# We always compile if we are building statically to reduce static dependency issues...
-# ...except for FreeBSD, because FreeBSD is a special case that doesn't play well with
-# others.
-
-find_package(Miniupnpc REQUIRED)
-
-message(STATUS "Using in-tree miniupnpc")
-set(UPNPC_NO_INSTALL TRUE CACHE BOOL "Disable miniupnp installation" FORCE)
-set(UPNPC_BUILD_SHARED OFF CACHE BOOL "Disable building shared library" FORCE)
-add_subdirectory(miniupnp/miniupnpc)
-set_property(TARGET libminiupnpc-static PROPERTY FOLDER "external")
-set_property(TARGET libminiupnpc-static PROPERTY POSITION_INDEPENDENT_CODE ON)
-if(MSVC)
- set_property(TARGET libminiupnpc-static APPEND_STRING PROPERTY COMPILE_FLAGS " -wd4244 -wd4267")
-elseif(NOT MSVC)
- set_property(TARGET libminiupnpc-static APPEND_STRING PROPERTY COMPILE_FLAGS " -Wno-undef -Wno-unused-result -Wno-unused-value")
-endif()
-if(CMAKE_SYSTEM_NAME MATCHES "NetBSD")
- set_property(TARGET libminiupnpc-static APPEND_STRING PROPERTY COMPILE_FLAGS " -D_NETBSD_SOURCE")
-endif()
-
-set(UPNP_LIBRARIES "libminiupnpc-static" PARENT_SCOPE)
-
find_package(Unbound)
if(NOT UNBOUND_INCLUDE_DIR)
diff --git a/external/miniupnp b/external/miniupnp
deleted file mode 160000
-Subproject 544e6fcc73c5ad9af48a8985c94f0f1d742ef2e