summaryrefslogtreecommitdiff
path: root/Modules/CheckLibraryExists.cmake
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2002-10-29 13:34:12 -0500
committerAndy Cedilnik <andy.cedilnik@kitware.com>2002-10-29 13:34:12 -0500
commitccafaa6bce51754ae4ae6dc4319f7ddf23df4055 (patch)
tree4ae93947001f7634d373eca66f55b1f26f7b8e57 /Modules/CheckLibraryExists.cmake
parent91bd2078123a417b74537652cffabab108ed15f3 (diff)
downloadcmake-ccafaa6bce51754ae4ae6dc4319f7ddf23df4055.tar.gz
Add append to write_file
Diffstat (limited to 'Modules/CheckLibraryExists.cmake')
-rw-r--r--Modules/CheckLibraryExists.cmake5
1 files changed, 3 insertions, 2 deletions
diff --git a/Modules/CheckLibraryExists.cmake b/Modules/CheckLibraryExists.cmake
index 7437b9b394..ce3d6e7d10 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)