diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2017-02-15 17:36:58 +0100 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-02-21 10:12:50 -0500 |
commit | 3270091210c0cfdddb133209b232a1d0a1fa48da (patch) | |
tree | 630bec594dd54c344e0270621e05478e7dccba57 /Source/cmQtAutoGenerators.cxx | |
parent | 793c9a7925dfa3aaa2b15212f4ba0246d1fbf83c (diff) | |
download | cmake-3270091210c0cfdddb133209b232a1d0a1fa48da.tar.gz |
Autogen: Don't list all search paths in error message
Diffstat (limited to 'Source/cmQtAutoGenerators.cxx')
-rw-r--r-- | Source/cmQtAutoGenerators.cxx | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/Source/cmQtAutoGenerators.cxx b/Source/cmQtAutoGenerators.cxx index ddf8bf1154..580265b618 100644 --- a/Source/cmQtAutoGenerators.cxx +++ b/Source/cmQtAutoGenerators.cxx @@ -839,13 +839,7 @@ bool cmQtAutoGenerators::ParseContentForMoc( err << "AutoMoc: Error: " << absFilename << "\n" << "The file includes the moc file \"" << currentMoc << "\", but could not find header \"" << basename << '{' - << JoinExts(headerExtensions) << "}\" "; - if (mocSubDir.empty()) { - err << "in " << scannedFileAbsPath << "\n"; - } else { - err << "neither in " << scannedFileAbsPath << " nor in " - << mocSubDir << "\n"; - } + << JoinExts(headerExtensions) << "}\"\n"; this->LogError(err.str()); return false; } |