ENH: When test fails, write out the output
This commit is contained in:
parent
bf46e4f4b7
commit
b1a1526e14
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue