summaryrefslogtreecommitdiffstats
path: root/Modules/TestBigEndian.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/TestBigEndian.cmake')
-rw-r--r--Modules/TestBigEndian.cmake11
1 files changed, 5 insertions, 6 deletions
diff --git a/Modules/TestBigEndian.cmake b/Modules/TestBigEndian.cmake
index a244060..53cd8cb 100644
--- a/Modules/TestBigEndian.cmake
+++ b/Modules/TestBigEndian.cmake
@@ -6,12 +6,11 @@
MACRO(TEST_BIG_ENDIAN VARIABLE)
TRY_RUN(${VARIABLE} HAVE_${VARIABLE}
- ${CMAKE_BINARY_DIR}
- ${CMAKE_ROOT}/Modules/TestBigEndian.c
- OUTPUT_VARIABLE OUTPUT)
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_ROOT}/Modules/TestBigEndian.c
+ OUTPUT_VARIABLE OUTPUT)
IF(NOT HAVE_${VARIABLE})
- WRITE_FILE(${CMAKE_BINARY_DIR}/CMakeError.log
- "Determining the endianes of the system failed with the following output:\n${OUTPUT}\n"
- APPEND)
+ FILE(APPEND ${CMAKE_BINARY_DIR}/CMakeError.log
+ "Determining the endianes of the system failed with the following output:\n${OUTPUT}\n")
ENDIF(NOT HAVE_${VARIABLE})
ENDMACRO(TEST_BIG_ENDIAN)