diff options
author | Brad King <brad.king@kitware.com> | 2016-10-01 08:20:36 -0400 |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2016-10-01 08:20:36 -0400 |
commit | f564e4ab01d05fa1920c341ee852cb10a056d6ef (patch) | |
tree | d921d699fe0b2cd20000ff209468d33298261484 | |
parent | 8202816a36ec010b13ac212ca2efdf958828fb84 (diff) | |
parent | a189d019dd2cc3a56fc57ae1162b752ff0811551 (diff) | |
download | cmake-f564e4ab01d05fa1920c341ee852cb10a056d6ef.tar.gz |
Merge topic 'autogen-fix-cmake-error'
a189d019 QtAutogen: Use cmSystemTools::Error instead of std::cerr
-rw-r--r-- | Source/cmQtAutoGeneratorInitializer.cxx | 4 |
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(); |