Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
The right mode is FATAL_ERROR.
[simgrid.git] / tools / cmake / Option.cmake
index cea1291..0ff2fcc 100644 (file)
@@ -26,13 +26,13 @@ option(enable_ns3            "Whether ns-3 model 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.")
+  message(FATAL_ERROR "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)
-  message(FATAL "Java was removed from SimGrid v3.33. Please stick to v3.32 or earlier if you need Java.")
+  message(FATAL_ERROR "Java was removed from SimGrid v3.33. Please stick to v3.32 or earlier if you need Java.")
 endif()
 
 option(minimal-bindings      "Whether to compile the Python bindings libraries with the minimal dependency set" off)