build: vendor dependencies as submodules

This commit is contained in:
ookami125 2026-06-24 23:51:21 -04:00
parent 252bc8140b
commit bc1eb5a08e
8 changed files with 23 additions and 8 deletions

View file

@ -51,9 +51,9 @@ if(NAUT_SAN STREQUAL "address" OR NAUT_SAN STREQUAL "undefined")
set(PEER_ASAN ON CACHE BOOL "" FORCE)
set(TRACKER_ASAN ON CACHE BOOL "" FORCE)
endif()
add_subdirectory(${CMAKE_SOURCE_DIR}/../torrent-peer
add_subdirectory(${CMAKE_SOURCE_DIR}/external/torrent-peer
${CMAKE_BINARY_DIR}/torrent-peer)
add_subdirectory(${CMAKE_SOURCE_DIR}/../torrent-tracker
add_subdirectory(${CMAKE_SOURCE_DIR}/external/torrent-tracker
${CMAKE_BINARY_DIR}/torrent-tracker)
if(NAUT_STANDALONE)