summaryrefslogtreecommitdiff
path: root/Source/cmQtAutoGenerator.cxx
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2019-05-11 21:17:05 +0200
committerSebastian Holtermann <sebholt@xwmw.org>2019-05-11 21:17:05 +0200
commiteff6e622d6cd66186ad42c9ec2ae6b2055008707 (patch)
treee35d5ac0f69dfebed4b6d943fd750d70ea0ed898 /Source/cmQtAutoGenerator.cxx
parent741fb95f660c73035a26b572dfcd3d628d324d57 (diff)
downloadcmake-eff6e622d6cd66186ad42c9ec2ae6b2055008707.tar.gz
Autogen: A missing info file is a critical error
Diffstat (limited to 'Source/cmQtAutoGenerator.cxx')
-rw-r--r--Source/cmQtAutoGenerator.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmQtAutoGenerator.cxx b/Source/cmQtAutoGenerator.cxx
index f7e377dd3c..e1c435be07 100644
--- a/Source/cmQtAutoGenerator.cxx
+++ b/Source/cmQtAutoGenerator.cxx
@@ -279,10 +279,11 @@ bool cmQtAutoGenerator::Run(std::string const& infoFile,
InfoFile_ = infoFile;
cmSystemTools::ConvertToUnixSlashes(InfoFile_);
if (!InfoFileTime_.Load(InfoFile_)) {
- std::string msg = "Autogen: The info file ";
+ std::string msg = "AutoGen: The info file ";
msg += Quoted(InfoFile_);
msg += " is not readable\n";
cmSystemTools::Stderr(msg);
+ return false;
}
InfoDir_ = cmSystemTools::GetFilenamePath(infoFile);
InfoConfig_ = config;