Merge pull request #9686
Some checks are pending
ci/gh-actions/cli / build-macos (push) Waiting to run
ci/gh-actions/cli / build-windows (push) Waiting to run
ci/gh-actions/cli / build-debian (debian-10) (push) Waiting to run
ci/gh-actions/cli / build-ubuntu (ubuntu-20.04) (push) Waiting to run
ci/gh-actions/cli / build-ubuntu (ubuntu-22.04) (push) Waiting to run
ci/gh-actions/cli / libwallet-ubuntu (push) Waiting to run
ci/gh-actions/cli / test-ubuntu (push) Blocked by required conditions
ci/gh-actions/cli / source-archive (push) Waiting to run
ci/gh-actions/depends / Cross-Mac aarch64 (push) Waiting to run
ci/gh-actions/depends / ARMv8 Android (push) Waiting to run
ci/gh-actions/depends / ARM v8 (push) Waiting to run
ci/gh-actions/depends / ARM v7 (push) Waiting to run
ci/gh-actions/depends / i686 Linux (push) Waiting to run
ci/gh-actions/depends / i686 Win (push) Waiting to run
ci/gh-actions/depends / RISCV 64bit (push) Waiting to run
ci/gh-actions/depends / Cross-Mac x86_64 (push) Waiting to run
ci/gh-actions/depends / x86_64 Freebsd (push) Waiting to run
ci/gh-actions/depends / x86_64 Linux (push) Waiting to run
ci/gh-actions/depends / Win64 (push) Waiting to run

5cffab8 miniupnpc: fix build with gcc 14 (tobtoht)
This commit is contained in:
tobtoht 2025-01-14 14:36:51 +00:00
commit 7ca53dcee6
No known key found for this signature in database
GPG key ID: E45B10DD027D2472

View file

@ -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)