Bill Hoffman пре 22 година
родитељ
комит
972e09029d
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      Source/cmCTest.cxx

+ 2 - 1
Source/cmCTest.cxx

@@ -4029,14 +4029,15 @@ int cmCTest::RunCMakeAndTest(std::string* outstring)
     }
   if ( retVal )
     {
-    cmSystemTools::Error("Building of project failed\n");
     if(outstring)
       {
+      *outstring += "Building of project failed\n";
       *outstring += output;
       *outstring += "\n";
       }
     else
       {
+      std::cerr << "Building of project failed\n";
       std::cout << output << "\n";
       }
     // return to the original directory