Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Link against libdw
[simgrid.git] / buildtools / Cmake / MakeLib.cmake
index 93ace1d..2f81c23 100644 (file)
@@ -91,6 +91,9 @@ if(HAVE_MC)
   #   (that includes FindLibunwind.cmake), so simply load it now.
   
   SET(SIMGRID_DEP "${SIMGRID_DEP} -lunwind")
+
+  # Same for libdw
+  SET(SIMGRID_DEP "${SIMGRID_DEP} -ldw")
   # This supposes that the host machine is either an AMD or a X86.
   # This is deeply wrong, and should be fixed by manually loading -lunwind-PLAT (FIXME)
   if(PROCESSOR_x86_64)