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)