1
1
Fork 0
mirror of https://github.com/oxen-io/lokinet synced 2023-12-14 06:53:00 +01:00

Add oxen-libquic submodule

TODO: correctly plug it into CMake and remove ngtcp2 submodule from lokinet
as it will now come from oxen-libquic, if even used directly by lokinet at all.
This commit is contained in:
Thomas Winget 2023-07-31 08:38:41 -04:00
parent 178ac1757b
commit 3c46b07bfe
3 changed files with 7 additions and 3 deletions

3
.gitmodules vendored
View file

@ -39,3 +39,6 @@
[submodule "external/CLI11"]
path = external/CLI11
url = https://github.com/CLIUtils/CLI11.git
[submodule "external/oxen-libquic"]
path = external/oxen-libquic
url = https://github.com/oxen-io/oxen-libquic.git

View file

@ -33,7 +33,7 @@ if(SUBMODULE_CHECK)
check_submodule(oxen-encoding)
check_submodule(uvw)
check_submodule(cpr)
check_submodule(ngtcp2)
check_submodule(oxen-libquic)
check_submodule(CLI11)
endif()
endif()
@ -95,8 +95,8 @@ target_include_directories(uvw INTERFACE uvw/src)
target_link_libraries(uvw INTERFACE libuv)
# ngtcp2 needs some massaging to build nicely:
include(ngtcp2_lib)
add_ngtcp2_lib()
#include(ngtcp2_lib)
#add_ngtcp2_lib()
# cpr configuration. Ideally we'd just do this via add_subdirectory, but cpr's cmake requires
# 3.15+, and we target lower than that (and this is fairly simple to build).

1
external/oxen-libquic vendored Submodule

@ -0,0 +1 @@
Subproject commit d431c2fecad97a7e37612ffdba1cd3f9db89a364