From 99c131c5a33603ef4d365efae603e2e519acf33a Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 23 Jul 2020 06:55:48 -0400 Subject: cmGlobalGenerator: Fix spelling of EXCLUDE_FROM_ALL in error message --- Source/cmGlobalGenerator.cxx | 2 +- Tests/RunCMake/ExcludeFromAll/error-on-mixed-config-stderr.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index d39fefa..f14ffef 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx @@ -2199,7 +2199,7 @@ bool cmGlobalGenerator::IsExcluded(cmLocalGenerator* root, // configurations. if (trueCount && falseCount) { 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 \"" << root->GetGlobalGenerator()->GetName() << "\" generator."; mf->IssueMessage(MessageType::FATAL_ERROR, e.str()); diff --git a/Tests/RunCMake/ExcludeFromAll/error-on-mixed-config-stderr.txt b/Tests/RunCMake/ExcludeFromAll/error-on-mixed-config-stderr.txt index eee5278..6dc785f 100644 --- a/Tests/RunCMake/ExcludeFromAll/error-on-mixed-config-stderr.txt +++ b/Tests/RunCMake/ExcludeFromAll/error-on-mixed-config-stderr.txt @@ -1,3 +1,3 @@ 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 "[^"]+" -- cgit v0.12