Skip to content

Commit

Permalink
miniupnpc: fix build with gcc 14
Browse files Browse the repository at this point in the history
  • Loading branch information
tobtoht committed Jan 7, 2025
1 parent 3e07750 commit f14a73c
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 f14a73c

Please sign in to comment.