summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-05-07 10:36:22 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-05-07 10:36:22 (GMT)
commitbbfd4cd48fd7966ac5a539028fc3e397643f5593 (patch)
treebce282b2cce445b21cac15f37eeecc4127a8d18a /Source
parentc4f4dac2d550f0a8a44530187eac2ad03191c981 (diff)
downloadCMake-bbfd4cd48fd7966ac5a539028fc3e397643f5593.zip
CMake-bbfd4cd48fd7966ac5a539028fc3e397643f5593.tar.gz
CMake-bbfd4cd48fd7966ac5a539028fc3e397643f5593.tar.bz2
Features: Include the language of the compiler in error messages.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmMakefile.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 9ad637a..f94cac0 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -4560,7 +4560,7 @@ AddRequiredTargetFeature(cmTarget *target, const std::string& feature,
{
e << "No";
}
- e << " known features for compiler\n\""
+ e << " known features for " << lang << " compiler\n\""
<< this->GetDefinition("CMAKE_" + lang + "_COMPILER_ID")
<< "\"\nversion "
<< this->GetDefinition("CMAKE_" + lang + "_COMPILER_VERSION") << ".";
@@ -4583,7 +4583,7 @@ AddRequiredTargetFeature(cmTarget *target, const std::string& feature,
{
cmOStringStream e;
e << "The compiler feature \"" << feature
- << "\" is not known to compiler\n\""
+ << "\" is not known to " << lang << " compiler\n\""
<< this->GetDefinition("CMAKE_" + lang + "_COMPILER_ID")
<< "\"\nversion "
<< this->GetDefinition("CMAKE_" + lang + "_COMPILER_VERSION") << ".";