diff options
author | Brad King <brad.king@kitware.com> | 2019-11-15 14:20:47 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-11-15 14:21:08 (GMT) |
commit | 0b9f1cc96b5babb10f14781648b02f9a28124cbc (patch) | |
tree | 142e2b2179a428e395553013cc11330d0c8bc3be /Source/kwsys | |
parent | 1d78e1a966912d35e1dea0e986bc0b977141e880 (diff) | |
parent | 9e27e52d4b0fee729f9a3bef710efed290ef9900 (diff) | |
download | CMake-0b9f1cc96b5babb10f14781648b02f9a28124cbc.zip CMake-0b9f1cc96b5babb10f14781648b02f9a28124cbc.tar.gz CMake-0b9f1cc96b5babb10f14781648b02f9a28124cbc.tar.bz2 |
Merge branch 'upstream-KWSys' into win-no-error-popup
* upstream-KWSys:
KWSys 2019-11-15 (329d8c7c)
Diffstat (limited to 'Source/kwsys')
-rw-r--r-- | Source/kwsys/SystemTools.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx index dcf05da..39873e6 100644 --- a/Source/kwsys/SystemTools.cxx +++ b/Source/kwsys/SystemTools.cxx @@ -4666,8 +4666,12 @@ void SystemTools::ClassFinalize() # include <stdlib.h> namespace KWSYS_NAMESPACE { -static int SystemToolsDebugReport(int, char* message, int*) +static int SystemToolsDebugReport(int, char* message, int* ret) { + if (ret) { + // Pretend user clicked on Retry button in popup. + *ret = 1; + } fprintf(stderr, "%s", message); fflush(stderr); return 1; // no further reporting required |