summaryrefslogtreecommitdiffstats
path: root/Source/kwsys
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-08-26 19:17:20 (GMT)
committerBrad King <brad.king@kitware.com>2006-08-26 19:17:20 (GMT)
commite61eac3f05444faa023c42546d4596679b455aec (patch)
tree3ed4a525ed86e1294ed4abcaa31a23b085311f65 /Source/kwsys
parentff9c167e64d90a27ec1c6c83b2cf465f7a0652fe (diff)
downloadCMake-e61eac3f05444faa023c42546d4596679b455aec.zip
CMake-e61eac3f05444faa023c42546d4596679b455aec.tar.gz
CMake-e61eac3f05444faa023c42546d4596679b455aec.tar.bz2
BUG: Fix location of CMakeOutput.log and CMakeError.log.
Diffstat (limited to 'Source/kwsys')
-rw-r--r--Source/kwsys/kwsysPlatformCxxTests.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/kwsys/kwsysPlatformCxxTests.cmake b/Source/kwsys/kwsysPlatformCxxTests.cmake
index d08bfd0..175dc03 100644
--- a/Source/kwsys/kwsysPlatformCxxTests.cmake
+++ b/Source/kwsys/kwsysPlatformCxxTests.cmake
@@ -8,11 +8,11 @@ MACRO(KWSYS_PLATFORM_CXX_TEST var description invert)
OUTPUT_VARIABLE OUTPUT)
IF(${var}_COMPILED)
FILE(APPEND
- ${CMAKE_CURRENT_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log
+ ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log
"${description} compiled with the following output:\n${OUTPUT}\n\n")
ELSE(${var}_COMPILED)
FILE(APPEND
- ${CMAKE_CURRENT_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log
+ ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log
"${description} failed to compile with the following output:\n${OUTPUT}\n\n")
ENDIF(${var}_COMPILED)
IF(${invert} MATCHES INVERT)