aboutsummaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authortobtoht <tob@featherwallet.org>2025-01-07 15:40:28 +0100
committertobtoht <tob@featherwallet.org>2025-01-07 15:42:43 +0100
commitf14a73cea3964985542eb986ac6b8e1a78a29b67 (patch)
treede8b4c0e9b477be1e5d871e5098edbf50f1c9d22 /external
parent3e07750ea37dd6b906accac61dfb831005da0b15 (diff)
downloadmonzero-core-f14a73cea3964985542eb986ac6b8e1a78a29b67.tar.gz
monzero-core-f14a73cea3964985542eb986ac6b8e1a78a29b67.tar.xz
monzero-core-f14a73cea3964985542eb986ac6b8e1a78a29b67.zip
miniupnpc: fix build with gcc 14
Diffstat (limited to 'external')
-rw-r--r--external/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/external/CMakeLists.txt b/external/CMakeLists.txt
index 5b7f69a56..538e4d215 100644
--- a/external/CMakeLists.txt
+++ b/external/CMakeLists.txt
@@ -39,6 +39,7 @@ 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)