summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-10-01 12:20:36 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-10-01 12:20:36 (GMT)
commitf564e4ab01d05fa1920c341ee852cb10a056d6ef (patch)
treed921d699fe0b2cd20000ff209468d33298261484 /Source
parent8202816a36ec010b13ac212ca2efdf958828fb84 (diff)
parenta189d019dd2cc3a56fc57ae1162b752ff0811551 (diff)
downloadCMake-f564e4ab01d05fa1920c341ee852cb10a056d6ef.zip
CMake-f564e4ab01d05fa1920c341ee852cb10a056d6ef.tar.gz
CMake-f564e4ab01d05fa1920c341ee852cb10a056d6ef.tar.bz2
Merge topic 'autogen-fix-cmake-error'
a189d019 QtAutogen: Use cmSystemTools::Error instead of std::cerr
Diffstat (limited to 'Source')
-rw-r--r--Source/cmQtAutoGeneratorInitializer.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmQtAutoGeneratorInitializer.cxx b/Source/cmQtAutoGeneratorInitializer.cxx
index f5936bf..5246a67 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();