X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/11644e1a44c3ff95e0fbd27e63e654ca647b30e8..cab855035fade7b0addfcdd465d599e86518e47e:/tools/cmake/MakeLib.cmake diff --git a/tools/cmake/MakeLib.cmake b/tools/cmake/MakeLib.cmake index 2a09193533..19f94525d5 100644 --- a/tools/cmake/MakeLib.cmake +++ b/tools/cmake/MakeLib.cmake @@ -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)