From: Arnaud Giersch Date: Sun, 3 Jul 2022 20:57:26 +0000 (+0200) Subject: Recompute set of ns-3 lirairies. X-Git-Tag: v3.32~166 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/96d583b8899e7ab0d00987b1c78651d104014f57 Recompute set of ns-3 lirairies. Hack taken from CMakeLists.txt before commit 2104ee14b4207b9830a0ab424538ba900d4106bc Adapt to the upcoming ns-3 v3.36.1 --- diff --git a/tools/cmake/Modules/FindNS3.cmake b/tools/cmake/Modules/FindNS3.cmake index b97e23540f..9e50bd5d09 100644 --- a/tools/cmake/Modules/FindNS3.cmake +++ b/tools/cmake/Modules/FindNS3.cmake @@ -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)