diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-07-11 18:14:03 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-07-11 18:14:03 (GMT) |
commit | a17587c24449c2ae12fd0aaccf9d2ba36838eead (patch) | |
tree | 9698a8bb6d3c083cbd58a93496cbebd2da656166 /Modules/TestBigEndian.cmake | |
parent | 958987c27ffe95733e01c5d2313758922e60de74 (diff) | |
download | CMake-a17587c24449c2ae12fd0aaccf9d2ba36838eead.zip CMake-a17587c24449c2ae12fd0aaccf9d2ba36838eead.tar.gz CMake-a17587c24449c2ae12fd0aaccf9d2ba36838eead.tar.bz2 |
ENH: Replace WRITE_FILE with FILE(WRITE and FILE(APPEND. Replace MAKE_DIRECTORY with FILE(MAKE_DIRECTORY, replace STRING(ASCII things
Diffstat (limited to 'Modules/TestBigEndian.cmake')
-rw-r--r-- | Modules/TestBigEndian.cmake | 11 |
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) |