Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add a FreeBSD backend for get_memory_map(), allow to enable smpi privatization.
[simgrid.git] / tools / cmake / MakeLib.cmake
index 2a09193..19f9452 100644 (file)
@@ -99,6 +99,10 @@ if(HAVE_POSIX_GETTIME)
   SET(SIMGRID_DEP "${SIMGRID_DEP} -lrt")
 endif()
 
+if("${CMAKE_SYSTEM}" MATCHES "FreeBSD")
+  set(SIMGRID_DEP "${SIMGRID_DEP} -lprocstat")
+endif()
+
 # Compute the dependencies of SMPI
 ##################################
 if(enable_smpi AND APPLE)