diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-08-01 19:24:46 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-08-01 19:24:46 (GMT) |
commit | 612d2f667b16bfe8f589ebb80242f34b219b979e (patch) | |
tree | 3f87551f94bb5c150c2dcc60a46c86e9424af613 /Modules/CheckCSourceCompiles.cmake | |
parent | df3d4cb3c46888df355f2b41659cb437002c610f (diff) | |
download | CMake-612d2f667b16bfe8f589ebb80242f34b219b979e.zip CMake-612d2f667b16bfe8f589ebb80242f34b219b979e.tar.gz CMake-612d2f667b16bfe8f589ebb80242f34b219b979e.tar.bz2 |
ENH: fix for location of error log
Diffstat (limited to 'Modules/CheckCSourceCompiles.cmake')
-rw-r--r-- | Modules/CheckCSourceCompiles.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CheckCSourceCompiles.cmake b/Modules/CheckCSourceCompiles.cmake index 767b2af..e627c1b 100644 --- a/Modules/CheckCSourceCompiles.cmake +++ b/Modules/CheckCSourceCompiles.cmake @@ -50,7 +50,7 @@ MACRO(CHECK_C_SOURCE_COMPILES SOURCE VAR) ELSE(${VAR}) MESSAGE(STATUS "Performing Test ${VAR} - Failed") SET(${VAR} "" CACHE INTERNAL "Test ${FUNCTION}") - FILE(APPEND ${CMAKE_BINARY_DIR}/CMakeError.log + FILE(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log "Performing C SOURCE FILE Test ${VAR} failed with the following output:\n" "${OUTPUT}\n" "Source file was:\n${SOURCE}\n") |