cmGlobalGenerator: Fix spelling of EXCLUDE_FROM_ALL in error message

This commit is contained in:
Brad King 2020-07-23 06:55:48 -04:00
parent 2cdaf43d96
commit 99c131c5a3
2 changed files with 2 additions and 2 deletions

View File

@ -2199,7 +2199,7 @@ bool cmGlobalGenerator::IsExcluded(cmLocalGenerator* root,
// configurations. // configurations.
if (trueCount && falseCount) { if (trueCount && falseCount) {
std::ostringstream e; std::ostringstream e;
e << "The EXCLUDED_FROM_ALL property of target \"" << target->GetName() e << "The EXCLUDE_FROM_ALL property of target \"" << target->GetName()
<< "\" varies by configuration. This is not supported by the \"" << "\" varies by configuration. This is not supported by the \""
<< root->GetGlobalGenerator()->GetName() << "\" generator."; << root->GetGlobalGenerator()->GetName() << "\" generator.";
mf->IssueMessage(MessageType::FATAL_ERROR, e.str()); mf->IssueMessage(MessageType::FATAL_ERROR, e.str());

View File

@ -1,3 +1,3 @@
CMake Error in CMakeLists.txt: CMake Error in CMakeLists.txt:
The EXCLUDED_FROM_ALL property of target "release_only_tool" varies by The EXCLUDE_FROM_ALL property of target "release_only_tool" varies by
configuration. This is not supported by the "[^"]+" configuration. This is not supported by the "[^"]+"