Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Recompute set of ns-3 lirairies.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Sun, 3 Jul 2022 20:57:26 +0000 (22:57 +0200)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Sun, 3 Jul 2022 20:57:29 +0000 (22:57 +0200)
Hack taken from CMakeLists.txt before commit
2104ee14b4207b9830a0ab424538ba900d4106bc Adapt to the upcoming ns-3 v3.36.1

tools/cmake/Modules/FindNS3.cmake

index b97e235..9e50bd5 100644 (file)
@@ -119,6 +119,11 @@ else()
     endif()
   endif()
   mark_as_advanced(NS3_LIBRARY_PATH)
+
+  set(NS3_LIBRARIES "")
+  foreach(lib core csma point-to-point internet network applications wifi)
+    set(NS3_LIBRARIES "${NS3_LIBRARIES} -lns${NS3_VERSION}-${lib}${NS3_SUFFIX}")
+  endforeach()
 endif()
 
 if(SIMGRID_HAVE_NS3)