Skip to content

Commit

Permalink
Merge pull request #9685
Browse files Browse the repository at this point in the history
f14a73c miniupnpc: fix build with gcc 14 (tobtoht)
  • Loading branch information
tobtoht committed Jan 14, 2025
2 parents fce0c39 + f14a73c commit 7fb0d2f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions external/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7fb0d2f

Please sign in to comment.