Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Inform user when model-checking has been disabled because of HAVE_MMALLOC.
[simgrid.git] / buildtools / Cmake / CompleteInFiles.cmake
index 82be210..21931ba 100644 (file)
@@ -226,6 +226,9 @@ if(enable_model-checking AND HAVE_MMALLOC)
   SET(MMALLOC_WANT_OVERRIDE_LEGACY 1)
   include(FindLibunwind)
 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(MMALLOC_WANT_OVERRIDE_LEGACY 0)
 endif()