apply patch to libnatpmp repo so we can compile on macOS with CMake

This commit is contained in:
Grant Limberg 2025-09-06 15:01:48 -07:00
parent 3d72a43a19
commit 69efa924e2
No known key found for this signature in database
GPG key ID: 8F2F97D3BE8D7735
2 changed files with 21 additions and 0 deletions

View file

@ -22,6 +22,8 @@ FetchContent_Declare(
GIT_REPOSITORY https://github.com/miniupnp/libnatpmp.git
GIT_TAG master
GIT_SHALLOW ON
PATCH_COMMAND git apply ${CMAKE_SOURCE_DIR}/ext/cmake-patches/libnatpmp.patch
UPDATE_DISCONNECTED TRUE
)
FetchContent_MakeAvailable(libnatpmp)