Skip to content

Commit

Permalink
go back to using lwip-contrib project (#1050)
Browse files Browse the repository at this point in the history
  • Loading branch information
scareything authored Nov 26, 2024
1 parent a39ba12 commit 224cb88
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions deps/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,9 @@ FetchContent_Declare(lwip
SOURCE_SUBDIR dont/load/lwip/cmakelists
)
FetchContent_MakeAvailable(lwip)

FetchContent_Declare(lwip-contrib
GIT_REPOSITORY https://github.com/netfoundry/lwip-contrib.git
GIT_TAG STABLE-2_1_0_RELEASE
)
FetchContent_MakeAvailable(lwip-contrib)
3 changes: 2 additions & 1 deletion lib/ziti-tunnel/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ target_compile_definitions(ziti-tunnel-sdk-c

FetchContent_GetProperties(lwip)
set (LWIP_DIR "${lwip_SOURCE_DIR}")
set (LWIP_CONTRIB_DIR "${lwip_SOURCE_DIR}/contrib")
FetchContent_GetProperties(lwip-contrib)
set (LWIP_CONTRIB_DIR "${lwip-contrib_SOURCE_DIR}")

if(WIN32)
set(LWIP_CONTRIB_INCLUDE "${LWIP_CONTRIB_DIR}/ports/win32/include")
Expand Down

0 comments on commit 224cb88

Please sign in to comment.