Skip to content
Snippets Groups Projects
Commit ca0f1c9d authored by Brad King's avatar Brad King
Browse files

BUG: When a try-run fails to compile create the run result cache entry with a...

BUG: When a try-run fails to compile create the run result cache entry with a bogus non-zero return value to avoid running the test again.
parent d222d822
No related branches found
No related tags found
No related merge requests found
......@@ -68,6 +68,7 @@ MACRO(KWSYS_PLATFORM_CXX_TEST_RUN var description invert)
FILE(APPEND
${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log
"${description} failed to compile with the following output:\n${OUTPUT}\n\n")
SET(${var} -1 CACHE INTERNAL "${description} failed to compile.")
ENDIF(${var}_COMPILED)
IF(${invert} MATCHES INVERT)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment