X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/056e80c34c4cf86e282ea38dd0840498e63d9ea9..a55549d1f97905cec49c509245ff7a0cc1559a42:/tools/cmake/MakeLib.cmake diff --git a/tools/cmake/MakeLib.cmake b/tools/cmake/MakeLib.cmake index 3d7d59f669..203ddf4f11 100644 --- a/tools/cmake/MakeLib.cmake +++ b/tools/cmake/MakeLib.cmake @@ -42,7 +42,7 @@ endif() # Compute the dependencies of SimGrid ##################################### # search for dlopen -if("${CMAKE_SYSTEM_NAME}" MATCHES "kFreeBSD|Linux") +if("${CMAKE_SYSTEM_NAME}" MATCHES "kFreeBSD|Linux|SunOS") find_library(DL_LIBRARY dl) endif() mark_as_advanced(DL_LIBRARY)