X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e91f26820b30a2d87b4c723e92eaebbd2dc5ce15..48296e83ce3ba1fa3658a3a74d10a536e33b3849:/tools/cmake/MakeLib.cmake diff --git a/tools/cmake/MakeLib.cmake b/tools/cmake/MakeLib.cmake index b0b8837cf0..551c48eb5e 100644 --- a/tools/cmake/MakeLib.cmake +++ b/tools/cmake/MakeLib.cmake @@ -35,6 +35,12 @@ else() set(EXTRA_DIST ${EXTRA_DIST} ${STHREAD_SRC}) endif() +if(HAVE_MMALLOC) + add_library(sgmalloc SHARED ${SGMALLOC_SRC}) + set_property(TARGET sgmalloc + APPEND PROPERTY INCLUDE_DIRECTORIES "${INTERNAL_INCLUDES}") +endif() + if(enable_model-checking) add_executable(simgrid-mc ${MC_SIMGRID_MC_SRC}) target_link_libraries(simgrid-mc simgrid) @@ -133,7 +139,7 @@ if(enable_smpi) if ("${CMAKE_SYSTEM_VERSION}" STRGREATER_EQUAL "12") set(SIMGRID_DEP "${SIMGRID_DEP} -lpgmath") endif() - if ("${CMAKE_SYSTEM_VERSION}" MATCHES "12\.1") + if ("${CMAKE_SYSTEM_VERSION}" MATCHES "12\\.1") set(SIMGRID_DEP "${SIMGRID_DEP} -lomp") endif() endif()