Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
The right mode is FATAL_ERROR.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Sat, 14 Jan 2023 10:19:07 +0000 (11:19 +0100)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Sat, 14 Jan 2023 10:19:07 +0000 (11:19 +0100)
CMakeLists.txt
tools/cmake/Option.cmake

index a57c58c..e6b59da 100644 (file)
@@ -11,7 +11,7 @@ else()
 endif()
 
 if(WIN32 OR MINGW)
-  message(FATAL "SimGrid does not build on native windows, nor with MinGW. Please use WSL2 instead.")
+  message(FATAL_ERROR "SimGrid does not build on native windows, nor with MinGW. Please use WSL2 instead.")
 endif()
 
 message(STATUS "Configuring SimGrid v${release_version}")
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)