diff options
Diffstat (limited to 'Source/CTest/cmCTestBuildAndTestHandler.cxx')
-rw-r--r-- | Source/CTest/cmCTestBuildAndTestHandler.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestBuildAndTestHandler.cxx b/Source/CTest/cmCTestBuildAndTestHandler.cxx index 9a6b40e..6756dbf 100644 --- a/Source/CTest/cmCTestBuildAndTestHandler.cxx +++ b/Source/CTest/cmCTestBuildAndTestHandler.cxx @@ -169,7 +169,7 @@ class cmCTestBuildAndTestCaptureRAII public: cmCTestBuildAndTestCaptureRAII(cmake& cm, std::string& s): CM(cm) { - cmSystemTools::SetErrorCallback(CMakeMessageCallback, &s); + cmSystemTools::SetMessageCallback(CMakeMessageCallback, &s); cmSystemTools::SetStdoutCallback(CMakeStdoutCallback, &s); this->CM.SetProgressCallback(CMakeProgressCallback, &s); } @@ -177,7 +177,7 @@ public: { this->CM.SetProgressCallback(0, 0); cmSystemTools::SetStdoutCallback(0, 0); - cmSystemTools::SetErrorCallback(0, 0); + cmSystemTools::SetMessageCallback(0, 0); } }; |