diff options
author | Brad King <brad.king@kitware.com> | 2020-07-23 10:55:48 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-07-23 11:13:36 (GMT) |
commit | 99c131c5a33603ef4d365efae603e2e519acf33a (patch) | |
tree | cf55ffca796e7020f90bab1ee747dff8cef9ecbb | |
parent | 2cdaf43d966f8407f0fb75ceb131fdca16617915 (diff) | |
download | CMake-99c131c5a33603ef4d365efae603e2e519acf33a.zip CMake-99c131c5a33603ef4d365efae603e2e519acf33a.tar.gz CMake-99c131c5a33603ef4d365efae603e2e519acf33a.tar.bz2 |
cmGlobalGenerator: Fix spelling of EXCLUDE_FROM_ALL in error message
-rw-r--r-- | Source/cmGlobalGenerator.cxx | 2 | ||||
-rw-r--r-- | 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 "[^"]+" |