summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-05-08 15:27:57 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2014-05-08 15:27:57 (GMT)
commit3e206022abede98b60c9932e50034e23ba677d0f (patch)
tree72df05a59f1398f83010d2db407fb690f9a363df /Source
parent9add7071a589892c856bbfd53aa79b352c3f3c08 (diff)
parent4779542157c4fee31eedcd3c057fb19bdffe47bd (diff)
downloadCMake-3e206022abede98b60c9932e50034e23ba677d0f.zip
CMake-3e206022abede98b60c9932e50034e23ba677d0f.tar.gz
CMake-3e206022abede98b60c9932e50034e23ba677d0f.tar.bz2
Merge topic 'minor-cleanups'
47795421 Fix whitespace in docs. aa283b6b Features: Fix test for GNU 4.8.1. bbfd4cd4 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 f6219ab..53e1764 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -4608,7 +4608,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") << ".";
@@ -4631,7 +4631,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") << ".";