From: Augustin Degomme Date: Tue, 14 May 2019 10:16:51 +0000 (+0200) Subject: let's pretend that sunOS supports privatization (no idea) X-Git-Tag: v3.22.4~127^2~27 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/01372ae03ec3952d783892694401a9171b47a9b4?ds=sidebyside let's pretend that sunOS supports privatization (no idea) --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 34d5caa427..12d1189ff4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -396,7 +396,7 @@ endif() if(enable_smpi) SET(HAVE_SMPI 1) - if("${CMAKE_SYSTEM}" MATCHES "Darwin|FreeBSD|Linux") + if("${CMAKE_SYSTEM}" MATCHES "Darwin|FreeBSD|Linux|SunOS") SET(HAVE_PRIVATIZATION 1) else() message (STATUS "Warning: no support for SMPI automatic privatization on this platform") 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)