mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-03 05:08:47 -06:00
ENH: fix for 1450
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user