mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-23 22:58:37 -05:00
Merge topic 'minor-cleanups'
47795421Fix whitespace in docs.aa283b6bFeatures: Fix test for GNU 4.8.1.bbfd4cd4Features: Include the language of the compiler in error messages.
This commit is contained in:
@@ -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") << ".";
|
||||
|
||||
Reference in New Issue
Block a user