Skip to content
Snippets Groups Projects
Commit f31e8d33 authored by Kyle Edwards's avatar Kyle Edwards
Browse files

Genex: Fix grammatical error in TARGET_OBJECTS error message

parent d34d28e6
No related branches found
No related tags found
No related merge requests found
......@@ -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();
}
......
......@@ -3,7 +3,7 @@ CMake Error at OutputNameMatchesObjects.cmake:[0-9]+ \(file\):
\$<TARGET_OBJECTS:foo>
Objects of target "foo" referenced but is not an allowed library types
\(EXECUTABLE, STATIC, SHARED, MODULE, OBJECT\).
Objects of target "foo" referenced but is not one of the allowed target
types \(EXECUTABLE, STATIC, SHARED, MODULE, OBJECT\).
Call Stack \(most recent call first\):
CMakeLists.txt:[0-9]+ \(include\)
......@@ -3,7 +3,7 @@ CMake Error at BadSourceExpression3.cmake:2 \(add_library\):
\$<TARGET_OBJECTS:NotObjLib>
Objects of target "NotObjLib" referenced but is not an allowed library
types \(EXECUTABLE, STATIC, SHARED, MODULE, OBJECT\).
Objects of target "NotObjLib" referenced but is not one of the allowed
target types \(EXECUTABLE, STATIC, SHARED, MODULE, OBJECT\).
Call Stack \(most recent call first\):
CMakeLists.txt:[0-9]+ \(include\)
......@@ -3,7 +3,7 @@ CMake Error at NotObjlibTarget.cmake:[0-9]+ \(file\):
\$<TARGET_OBJECTS:IFaceLib>
Objects of target "IFaceLib" referenced but is not an allowed library types
\(EXECUTABLE, STATIC, SHARED, MODULE, OBJECT\).
Objects of target "IFaceLib" referenced but is not one of the allowed
target types \(EXECUTABLE, STATIC, SHARED, MODULE, OBJECT\).
Call Stack \(most recent call first\):
CMakeLists.txt:[0-9]+ \(include\)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment