From e61eac3f05444faa023c42546d4596679b455aec Mon Sep 17 00:00:00 2001 From: Brad King Date: Sat, 26 Aug 2006 15:17:20 -0400 Subject: [PATCH] BUG: Fix location of CMakeOutput.log and CMakeError.log. --- Source/kwsys/kwsysPlatformCxxTests.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/kwsys/kwsysPlatformCxxTests.cmake b/Source/kwsys/kwsysPlatformCxxTests.cmake index d08bfd0c8..175dc031b 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)