Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove MSG. Its EOL was scheduled for 2020
[simgrid.git] / tools / cmake / Option.cmake
index 1ac8929..cea1291 100644 (file)
@@ -23,7 +23,12 @@ option(enable_debug                 "Turn this off to remove all debug messages
 option(enable_documentation "Whether to produce documentation" off)
 
 option(enable_ns3            "Whether ns-3 model is activated." off)
-option(enable_msg            "Whether the MSG module is activated." off)
+option(enable_msg            "Java was removed from SimGrid v3.33. Please do not enable it here." off)
+mark_as_advanced(enable_msg)
+if (enable_msg)
+  message(FATAL "MSG was removed from SimGrid v3.33. Please stick to v3.32 or earlier if you need Java.")
+endif()
+
 option(enable_java            "Java was removed from SimGrid v3.33. Please do not enable it here." off)
 mark_as_advanced(enable_java)
 if (enable_java)