mirror of
https://github.com/monero-project/monero.git
synced 2025-08-15 01:05:30 -04:00
Merge pull request #9685
f14a73c
miniupnpc: fix build with gcc 14 (tobtoht)
This commit is contained in:
commit
7fb0d2f48d
1 changed files with 1 additions and 0 deletions
1
external/CMakeLists.txt
vendored
1
external/CMakeLists.txt
vendored
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue