summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2004-10-05 12:32:08 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2004-10-05 12:32:08 (GMT)
commitb1a1526e14970141ae80153dadcaa135baaf0e9d (patch)
tree27d669bc34979487f9fce392a7d32abaf743a897
parentbf46e4f4b78083799be42d47d35215a0db066d01 (diff)
downloadCMake-b1a1526e14970141ae80153dadcaa135baaf0e9d.zip
CMake-b1a1526e14970141ae80153dadcaa135baaf0e9d.tar.gz
CMake-b1a1526e14970141ae80153dadcaa135baaf0e9d.tar.bz2
ENH: When test fails, write out the output
-rw-r--r--Modules/CheckIncludeFiles.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CheckIncludeFiles.cmake b/Modules/CheckIncludeFiles.cmake
index ba2cde0..cf0361c 100644
--- a/Modules/CheckIncludeFiles.cmake
+++ b/Modules/CheckIncludeFiles.cmake
@@ -39,7 +39,7 @@ MACRO(CHECK_INCLUDE_FILES INCLUDE VARIABLE)
FILE(APPEND ${CMAKE_BINARY_DIR}/CMakeError.log
"Determining if files ${INCLUDE} "
"exist failed with the following output:\n"
- "${OUTPUT}\n\n")
+ "${OUTPUT}\nSource:\n${CHECK_INCLUDE_FILES_CONTENT}\n")
ENDIF(${VARIABLE})
ENDIF("${VARIABLE}" MATCHES "^${VARIABLE}$")
ENDMACRO(CHECK_INCLUDE_FILES)