summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2017-02-15 16:36:58 (GMT)
committerBrad King <brad.king@kitware.com>2017-02-21 15:12:50 (GMT)
commit3270091210c0cfdddb133209b232a1d0a1fa48da (patch)
tree630bec594dd54c344e0270621e05478e7dccba57
parent793c9a7925dfa3aaa2b15212f4ba0246d1fbf83c (diff)
downloadCMake-3270091210c0cfdddb133209b232a1d0a1fa48da.zip
CMake-3270091210c0cfdddb133209b232a1d0a1fa48da.tar.gz
CMake-3270091210c0cfdddb133209b232a1d0a1fa48da.tar.bz2
Autogen: Don't list all search paths in error message
-rw-r--r--Source/cmQtAutoGenerators.cxx8
1 files changed, 1 insertions, 7 deletions
diff --git a/Source/cmQtAutoGenerators.cxx b/Source/cmQtAutoGenerators.cxx
index ddf8bf1..580265b 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;
}