From b1a1526e14970141ae80153dadcaa135baaf0e9d Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Tue, 5 Oct 2004 08:32:08 -0400 Subject: [PATCH] ENH: When test fails, write out the output --- Modules/CheckIncludeFiles.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/CheckIncludeFiles.cmake b/Modules/CheckIncludeFiles.cmake index ba2cde097..cf0361c8f 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)