diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2005-02-10 04:00:16 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2005-02-10 04:00:16 (GMT) |
commit | b7b501bbe8fa7a1a5ee5b342341c5512e7e604ca (patch) | |
tree | 32a489074211be98116fc94d45763922e62cc46b /Modules/TestBigEndian.cmake | |
parent | aa947ff48b6cf78663c658b46f37105467c04aea (diff) | |
download | CMake-b7b501bbe8fa7a1a5ee5b342341c5512e7e604ca.zip CMake-b7b501bbe8fa7a1a5ee5b342341c5512e7e604ca.tar.gz CMake-b7b501bbe8fa7a1a5ee5b342341c5512e7e604ca.tar.bz2 |
ENH: fix for 1450
Diffstat (limited to 'Modules/TestBigEndian.cmake')
-rw-r--r-- | Modules/TestBigEndian.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/TestBigEndian.cmake b/Modules/TestBigEndian.cmake index 3f6d719..f121bdf 100644 --- a/Modules/TestBigEndian.cmake +++ b/Modules/TestBigEndian.cmake @@ -10,6 +10,9 @@ MACRO(TEST_BIG_ENDIAN VARIABLE) ${CMAKE_BINARY_DIR} ${CMAKE_ROOT}/Modules/TestBigEndian.c OUTPUT_VARIABLE OUTPUT) + IF(${VARIABLE} STREQUAL "FAILED_TO_RUN") + MESSAGE(SEND_ERROR "TestBigEndian Failed to run with output: ${OUTPUT}") + ENDIF(${VARIABLE} STREQUAL "FAILED_TO_RUN") MESSAGE(STATUS "Check if the system is big endian") IF(HAVE_${VARIABLE}) FILE(APPEND ${CMAKE_BINARY_DIR}/CMakeError.log |