Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
improve an error message
[simgrid.git] / CMakeLists.txt
index be8918f..1524a17 100644 (file)
@@ -754,7 +754,7 @@ else()
   elseif("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "i686")
     set(PTH_STACKGROWTH "-1")
   else()
-    message(ERROR "Could not figure the stack direction.")
+    message(FATAL_ERROR "Could not figure out the stack direction. Test prog returned: ${stack}; CMAKE_SYSTEM_PROCESSOR: ${CMAKE_SYSTEM_PROCESSOR}.")
   endif()
 endif()