mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-12-15 14:51:08 -08:00
apply patch to libnatpmp repo so we can compile on macOS with CMake
This commit is contained in:
parent
3d72a43a19
commit
69efa924e2
2 changed files with 21 additions and 0 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue