summaryrefslogtreecommitdiff
blob: 5d684a4a4738892315f3cd785c20d624279dc931 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/torch/lib/libshm/CMakeLists.txt	2024-09-04 06:09:51.943752841 +0200
+++ b/torch/lib/libshm/CMakeLists.txt	2024-09-04 06:10:52.243821438 +0200
@@ -24,6 +24,10 @@
   CXX_STANDARD 17)
 target_link_libraries(shm PRIVATE ${TORCH_CPU_LIB})
 
+if (USE_DISTRIBUTED)
+  target_link_libraries(shm PRIVATE cpp-httplib)
+endif()
+
 if(UNIX AND NOT APPLE)
   include(CheckLibraryExists)
   find_package(Threads REQUIRED)