diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-03-22 16:15:35 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-03-22 16:15:35 (GMT) |
commit | 36e272843154c6ea475fd3c19a39a0d27dbcafa5 (patch) | |
tree | 2be20dfd0656717a023ceeba97cc1a139d7b3db9 /Modules/CheckCXXSourceCompiles.cmake | |
parent | 0376fe4b9becff8de75e81a15c67b40014b19ce3 (diff) | |
download | CMake-36e272843154c6ea475fd3c19a39a0d27dbcafa5.zip CMake-36e272843154c6ea475fd3c19a39a0d27dbcafa5.tar.gz CMake-36e272843154c6ea475fd3c19a39a0d27dbcafa5.tar.bz2 |
ENH: Cleanup bootstrap even more
Diffstat (limited to 'Modules/CheckCXXSourceCompiles.cmake')
-rw-r--r-- | Modules/CheckCXXSourceCompiles.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/CheckCXXSourceCompiles.cmake b/Modules/CheckCXXSourceCompiles.cmake index 2fcf38c..ede2254 100644 --- a/Modules/CheckCXXSourceCompiles.cmake +++ b/Modules/CheckCXXSourceCompiles.cmake @@ -43,14 +43,14 @@ MACRO(CHECK_CXX_SOURCE_COMPILES SOURCE VAR) IF(${VAR}) SET(${VAR} 1 CACHE INTERNAL "Test ${FUNCTION}") MESSAGE(STATUS "Performing Test ${VAR} - Success") - WRITE_FILE(${CMAKE_BINARY_DIR}/CMakeFiles/CMakeOutput.log + FILE(WRITE ${CMAKE_BINARY_DIR}/CMakeFiles/CMakeOutput.log "Performing C++ SOURCE FILE Test ${VAR} succeded with the following output:\n" "${OUTPUT}\n" "Source file was:\n${SOURCE}\n" APPEND) ELSE(${VAR}) MESSAGE(STATUS "Performing Test ${VAR} - Failed") SET(${VAR} "" CACHE INTERNAL "Test ${FUNCTION}") - WRITE_FILE(${CMAKE_BINARY_DIR}/CMakeFiles/CMakeError.log + FILE(WRITE ${CMAKE_BINARY_DIR}/CMakeFiles/CMakeError.log "Performing C++ SOURCE FILE Test ${VAR} failed with the following output:\n" "${OUTPUT}\n" "Source file was:\n${SOURCE}\n" APPEND) |