chore: bump libnatpmp (#7536)

This commit is contained in:
Yat Ho
2025-05-01 18:53:38 +08:00
committed by GitHub
parent e42bac88a6
commit 0659f50373
3 changed files with 4 additions and 3 deletions

1
.gitmodules vendored
View File

@@ -13,7 +13,6 @@
[submodule "third-party/libnatpmp"]
path = third-party/libnatpmp
url = https://github.com/transmission/libnatpmp.git
branch = post-20151025-transmission
[submodule "third-party/libutp"]
path = third-party/libutp
url = https://github.com/transmission/libutp.git

View File

@@ -507,7 +507,9 @@ tr_add_external_auto_library(EVENT2 libevent event
-DEVENT__LIBRARY_TYPE:STRING=STATIC)
tr_add_external_auto_library(NATPMP libnatpmp natpmp
TARGET natpmp::natpmp)
TARGET natpmp::natpmp
CMAKE_ARGS
-DBUILD_SHARED_LIBS=OFF)
if(NOT USE_SYSTEM_NATPMP)
target_compile_definitions(natpmp::natpmp
INTERFACE