summaryrefslogtreecommitdiff
path: root/Modules/CheckLibraryExists.cmake
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2005-07-29 09:19:25 -0400
committerKen Martin <ken.martin@kitware.com>2005-07-29 09:19:25 -0400
commitc6b011e35e63cbb695b7c939c00afba21fc94825 (patch)
tree3207012e89fc196416343da482e7e3cdcba5a63a /Modules/CheckLibraryExists.cmake
parentad46c80f7a65333600610bbbef49d2644c9f7a48 (diff)
downloadcmake-c6b011e35e63cbb695b7c939c00afba21fc94825.tar.gz
ENH: put cmake files intoa CMakeFiles subdir to clean up bin tree
Diffstat (limited to 'Modules/CheckLibraryExists.cmake')
-rw-r--r--Modules/CheckLibraryExists.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/CheckLibraryExists.cmake b/Modules/CheckLibraryExists.cmake
index 0b70d2993d..830d87986e 100644
--- a/Modules/CheckLibraryExists.cmake
+++ b/Modules/CheckLibraryExists.cmake
@@ -28,14 +28,14 @@ MACRO(CHECK_LIBRARY_EXISTS LIBRARY FUNCTION LOCATION VARIABLE)
IF(${VARIABLE})
MESSAGE(STATUS "Looking for ${FUNCTION} in ${LIBRARY} - found")
SET(${VARIABLE} 1 CACHE INTERNAL "Have library ${LIBRARY}")
- FILE(APPEND ${CMAKE_BINARY_DIR}/CMakeOutput.log
+ FILE(APPEND ${CMAKE_BINARY_DIR}/CMakeFiles/CMakeOutput.log
"Determining if the function ${FUNCTION} exists in the ${LIBRARY} "
"passed with the following output:\n"
"${OUTPUT}\n\n")
ELSE(${VARIABLE})
MESSAGE(STATUS "Looking for ${FUNCTION} in ${LIBRARY} - not found")
SET(${VARIABLE} "" CACHE INTERNAL "Have library ${LIBRARY}")
- FILE(APPEND ${CMAKE_BINARY_DIR}/CMakeError.log
+ FILE(APPEND ${CMAKE_BINARY_DIR}/CMakeFiles/CMakeError.log
"Determining if the function ${FUNCTION} exists in the ${LIBRARY} "
"failed with the following output:\n"
"${OUTPUT}\n\n")