Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Disable mmalloc when !HAVE_MC.
[simgrid.git] / buildtools / Cmake / CompleteInFiles.cmake
index 5db8766..5426fae 100644 (file)
@@ -230,11 +230,13 @@ if(enable_model-checking AND HAVE_MMALLOC)
   SET(HAVE_MC 1)
   SET(MMALLOC_WANT_OVERRIDE_LEGACY 1)
   include(FindLibunwind)
+  include(FindLibdw)
 else()
   if(enable_model-checking)
     message(STATUS "Warning: support for model-checking has been disabled because HAVE_MMALLOC is false")
   endif()
   SET(HAVE_MC 0)
+  SET(HAVE_MMALLOC 0)
   SET(MMALLOC_WANT_OVERRIDE_LEGACY 0)
 endif()