Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
improve an error message
authorMartin Quinson <martin.quinson@loria.fr>
Tue, 9 Feb 2016 22:24:12 +0000 (23:24 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Tue, 9 Feb 2016 22:24:12 +0000 (23:24 +0100)
CMakeLists.txt

index be8918f..1524a17 100644 (file)
@@ -754,7 +754,7 @@ else()
   elseif("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "i686")
     set(PTH_STACKGROWTH "-1")
   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()
 
   endif()
 endif()