diff options
Diffstat (limited to 'Modules/TestBigEndian.cmake')
-rw-r--r-- | Modules/TestBigEndian.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/TestBigEndian.cmake b/Modules/TestBigEndian.cmake index b1a65bf..2d1853c 100644 --- a/Modules/TestBigEndian.cmake +++ b/Modules/TestBigEndian.cmake @@ -11,7 +11,7 @@ MACRO(TEST_BIG_ENDIAN VARIABLE) TRY_RUN(${VARIABLE} HAVE_${VARIABLE} ${CMAKE_BINARY_DIR} ${CMAKE_ROOT}/Modules/TestBigEndian.c - OUTPUT_VARIABLE OUTPUT) + COMPILE_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") |