From: Martin Quinson Date: Tue, 9 Feb 2016 22:24:12 +0000 (+0100) Subject: improve an error message X-Git-Tag: v3_13~894 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/5330d44e5213b85b875764156c28b2ddc1b4fabf improve an error message --- diff --git a/CMakeLists.txt b/CMakeLists.txt index be8918f9f2..1524a17c8f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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()