X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/81c571783673c794dfd12682a5b9db490cff2a99..2a07cc1dc95048c86a3fc76aca2e9c088f7b5025:/tools/cmake/MakeLib.cmake diff --git a/tools/cmake/MakeLib.cmake b/tools/cmake/MakeLib.cmake index ce355d31dd..203ddf4f11 100644 --- a/tools/cmake/MakeLib.cmake +++ b/tools/cmake/MakeLib.cmake @@ -35,13 +35,14 @@ if(enable_model-checking) APPEND PROPERTY INCLUDE_DIRECTORIES "${INTERNAL_INCLUDES}") install(TARGETS simgrid-mc # install that binary without breaking the rpath on Mac RUNTIME DESTINATION bin/) + add_dependencies(tests simgrid-mc) 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)