diff --git a/Modules/CheckFunctionExists.cmake b/Modules/CheckFunctionExists.cmake index 6b9d4b7ee..4fddf4a76 100644 --- a/Modules/CheckFunctionExists.cmake +++ b/Modules/CheckFunctionExists.cmake @@ -19,6 +19,6 @@ MACRO(CHECK_FUNCTION_EXISTS FUNCTION VARIABLE) SET(${VARIABLE} "" CACHE INTERNAL "Have function ${LIBRARY}") WRITE_FILE(${PROJECT_BINARY_DIR}/CMakeError.log "Determining if the function ${FUNCTION} exists failed with the following output:\n" - "${OUTPUT}\n") + "${OUTPUT}\n" APPEND) ENDIF(${VARIABLE}) ENDMACRO(CHECK_FUNCTION_EXISTS) diff --git a/Modules/CheckIncludeFile.cmake b/Modules/CheckIncludeFile.cmake index 19f4dba19..efefa152c 100644 --- a/Modules/CheckIncludeFile.cmake +++ b/Modules/CheckIncludeFile.cmake @@ -21,6 +21,6 @@ MACRO(CHECK_INCLUDE_FILE INCLUDE VARIABLE) WRITE_FILE(${PROJECT_BINARY_DIR}/CMakeError.log "Determining if the include file ${INCLUDE} " "exists failed with the following output:\n" - "${OUTPUT}\n") + "${OUTPUT}\n" APPEND) ENDIF(${VARIABLE}) ENDMACRO(CHECK_INCLUDE_FILE) diff --git a/Modules/CheckLibraryExists.cmake b/Modules/CheckLibraryExists.cmake index 7437b9b39..ce3d6e7d1 100644 --- a/Modules/CheckLibraryExists.cmake +++ b/Modules/CheckLibraryExists.cmake @@ -23,7 +23,8 @@ MACRO(CHECK_LIBRARY_EXISTS LIBRARY FUNCTION LOCATION VARIABLE) ELSE(${VARIABLE}) SET(${VARIABLE} "" CACHE INTERNAL "Have library ${LIBRARY}") WRITE_FILE(${PROJECT_BINARY_DIR}/CMakeError.log - "Determining if the function ${FUNCTION} exists in the ${LIBRARY} failed with the following output:\n" - "${OUTPUT}\n") + "Determining if the function ${FUNCTION} exists in the ${LIBRARY} " + "failed with the following output:\n" + "${OUTPUT}\n" APPEND) ENDIF(${VARIABLE}) ENDMACRO(CHECK_LIBRARY_EXISTS) diff --git a/Modules/CheckSizeOf.cmake b/Modules/CheckSizeOf.cmake index 82d9f4309..57b7f2141 100644 --- a/Modules/CheckSizeOf.cmake +++ b/Modules/CheckSizeOf.cmake @@ -22,6 +22,7 @@ MACRO(CHECK_TYPE_SIZE TYPE VARIABLE) OUTPUT_VARIABLE OUTPUT) IF(NOT HAVE_${VARIABLE}) WRITE_FILE(${PROJECT_BINARY_DIR}/CMakeError.log - "Determining size of ${TYPE} failed with the following output:\n${OUTPUT}\n") + "Determining size of ${TYPE} failed with the following output:\n${OUTPUT}\n" + APPEND) ENDIF(NOT HAVE_${VARIABLE}) ENDMACRO(CHECK_TYPE_SIZE) diff --git a/Modules/TestBigEndian.cmake b/Modules/TestBigEndian.cmake index c729a82fa..2be59e34d 100644 --- a/Modules/TestBigEndian.cmake +++ b/Modules/TestBigEndian.cmake @@ -11,6 +11,7 @@ MACRO(TEST_BIG_ENDIAN VARIABLE) OUTPUT_VARIABLE OUTPUT) IF(NOT HAVE_${VARIABLE}) WRITE_FILE(${PROJECT_BINARY_DIR}/CMakeError.log - "Determining the endianes of the system failed with the following output:\n${OUTPUT}\n") + "Determining the endianes of the system failed with the following output:\n${OUTPUT}\n" + APPEND) ENDIF(NOT HAVE_${VARIABLE}) ENDMACRO(TEST_BIG_ENDIAN)