summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-10-01 08:20:36 -0400
committerCMake Topic Stage <kwrobot@kitware.com>2016-10-01 08:20:36 -0400
commitf564e4ab01d05fa1920c341ee852cb10a056d6ef (patch)
treed921d699fe0b2cd20000ff209468d33298261484
parent8202816a36ec010b13ac212ca2efdf958828fb84 (diff)
parenta189d019dd2cc3a56fc57ae1162b752ff0811551 (diff)
downloadcmake-f564e4ab01d05fa1920c341ee852cb10a056d6ef.tar.gz
Merge topic 'autogen-fix-cmake-error'
a189d019 QtAutogen: Use cmSystemTools::Error instead of std::cerr
-rw-r--r--Source/cmQtAutoGeneratorInitializer.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmQtAutoGeneratorInitializer.cxx b/Source/cmQtAutoGeneratorInitializer.cxx
index f5936bf21a..5246a676b9 100644
--- a/Source/cmQtAutoGeneratorInitializer.cxx
+++ b/Source/cmQtAutoGeneratorInitializer.cxx
@@ -478,7 +478,7 @@ static bool ListQt5RccInputs(cmSourceFile* sf, cmGeneratorTarget const* target,
<< " failed:\n"
<< rccStdOut << "\n"
<< rccStdErr << std::endl;
- std::cerr << err.str();
+ cmSystemTools::Error(err.str().c_str());
return false;
}
@@ -507,7 +507,7 @@ static bool ListQt5RccInputs(cmSourceFile* sf, cmGeneratorTarget const* target,
std::ostringstream err;
err << "AUTOGEN: error: Rcc lists unparsable output " << eline
<< std::endl;
- std::cerr << err.str();
+ cmSystemTools::Error(err.str().c_str());
return false;
}
pos += searchString.length();