X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/014fb38c9ecb8a27235f32c4cd47de6abe3cb3ef..cd943d0105b3a4de659a56a2e80c8cba1ed714bc:/buildtools/Cmake/MakeLib.cmake diff --git a/buildtools/Cmake/MakeLib.cmake b/buildtools/Cmake/MakeLib.cmake index 6aa5649987..04d3dfcdf8 100644 --- a/buildtools/Cmake/MakeLib.cmake +++ b/buildtools/Cmake/MakeLib.cmake @@ -28,7 +28,7 @@ add_dependencies(simgrid maintainer_files) # Compute the dependencies of GRAS ################################## -set(GRAS_DEP "-lm -lpthread") +set(GRAS_DEP "-lm -pthread") if(HAVE_POSIX_GETTIME) SET(GRAS_DEP "${GRAS_DEP} -lrt") @@ -51,7 +51,7 @@ set(SIMGRID_DEP "-lm -lpcre") if(pthread) if(${CONTEXT_THREADS}) - SET(SIMGRID_DEP "${SIMGRID_DEP} -lpthread") + SET(SIMGRID_DEP "${SIMGRID_DEP} -pthread") endif(${CONTEXT_THREADS}) endif(pthread)