summaryrefslogtreecommitdiffstats
path: root/Modules/CheckLibraryExists.cmake
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2002-10-29 18:34:12 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2002-10-29 18:34:12 (GMT)
commitccafaa6bce51754ae4ae6dc4319f7ddf23df4055 (patch)
tree4ae93947001f7634d373eca66f55b1f26f7b8e57 /Modules/CheckLibraryExists.cmake
parent91bd2078123a417b74537652cffabab108ed15f3 (diff)
downloadCMake-ccafaa6bce51754ae4ae6dc4319f7ddf23df4055.zip
CMake-ccafaa6bce51754ae4ae6dc4319f7ddf23df4055.tar.gz
CMake-ccafaa6bce51754ae4ae6dc4319f7ddf23df4055.tar.bz2
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 7437b9b..ce3d6e7 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)