ENH: When test fails, write out the output

This commit is contained in:
Andy Cedilnik 2004-10-05 08:32:08 -04:00
parent bf46e4f4b7
commit b1a1526e14
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ MACRO(CHECK_INCLUDE_FILES INCLUDE VARIABLE)
FILE(APPEND ${CMAKE_BINARY_DIR}/CMakeError.log FILE(APPEND ${CMAKE_BINARY_DIR}/CMakeError.log
"Determining if files ${INCLUDE} " "Determining if files ${INCLUDE} "
"exist failed with the following output:\n" "exist failed with the following output:\n"
"${OUTPUT}\n\n") "${OUTPUT}\nSource:\n${CHECK_INCLUDE_FILES_CONTENT}\n")
ENDIF(${VARIABLE}) ENDIF(${VARIABLE})
ENDIF("${VARIABLE}" MATCHES "^${VARIABLE}$") ENDIF("${VARIABLE}" MATCHES "^${VARIABLE}$")
ENDMACRO(CHECK_INCLUDE_FILES) ENDMACRO(CHECK_INCLUDE_FILES)