diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-08-03 17:41:21 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-08-03 17:41:21 (GMT) |
commit | 61aa4afd1e0fffa5d6682ac7890cd8b726d47d3a (patch) | |
tree | bc261461b031e4df68ae8bc2021ead92fb31a54b /Modules/CheckCSourceCompiles.cmake | |
parent | 441d208bb323b49bc7a42036d17fb5eb2a9cba48 (diff) | |
download | CMake-61aa4afd1e0fffa5d6682ac7890cd8b726d47d3a.zip CMake-61aa4afd1e0fffa5d6682ac7890cd8b726d47d3a.tar.gz CMake-61aa4afd1e0fffa5d6682ac7890cd8b726d47d3a.tar.bz2 |
ENH: add a crun macro and fix the output log for compile c
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 e627c1b..21dc50e 100644 --- a/Modules/CheckCSourceCompiles.cmake +++ b/Modules/CheckCSourceCompiles.cmake @@ -43,7 +43,7 @@ MACRO(CHECK_C_SOURCE_COMPILES SOURCE VAR) IF(${VAR}) SET(${VAR} 1 CACHE INTERNAL "Test ${FUNCTION}") MESSAGE(STATUS "Performing Test ${VAR} - Success") - FILE(APPEND ${CMAKE_BINARY_DIR}/CMakeOutput.log + FILE(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log "Performing C SOURCE FILE Test ${VAR} succeded with the following output:\n" "${OUTPUT}\n" "Source file was:\n${SOURCE}\n") |