diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2021-02-24 14:51:13 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2021-02-24 19:55:17 (GMT) |
commit | f31e8d33ef5ca31ae7881157e660fc74dcde3ffa (patch) | |
tree | faf1b6b32b979cebfc9174a9805a86cf6fd26d9e /Source/cmGeneratorExpressionNode.cxx | |
parent | d34d28e688c9ac5f1e5e446bb1131b3018721053 (diff) | |
download | CMake-f31e8d33ef5ca31ae7881157e660fc74dcde3ffa.zip CMake-f31e8d33ef5ca31ae7881157e660fc74dcde3ffa.tar.gz CMake-f31e8d33ef5ca31ae7881157e660fc74dcde3ffa.tar.bz2 |
Genex: Fix grammatical error in TARGET_OBJECTS error message
Diffstat (limited to 'Source/cmGeneratorExpressionNode.cxx')
-rw-r--r-- | Source/cmGeneratorExpressionNode.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGeneratorExpressionNode.cxx b/Source/cmGeneratorExpressionNode.cxx index da1a78e..7125170 100644 --- a/Source/cmGeneratorExpressionNode.cxx +++ b/Source/cmGeneratorExpressionNode.cxx @@ -1629,8 +1629,8 @@ static const struct TargetObjectsNode : public cmGeneratorExpressionNode type != cmStateEnums::OBJECT_LIBRARY) { std::ostringstream e; e << "Objects of target \"" << tgtName - << "\" referenced but is not an allowed library types (EXECUTABLE, " - << "STATIC, SHARED, MODULE, OBJECT)."; + << "\" referenced but is not one of the allowed target types " + << "(EXECUTABLE, STATIC, SHARED, MODULE, OBJECT)."; reportError(context, content->GetOriginalExpression(), e.str()); return std::string(); } |