mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-07 04:02:23 +03:00
Add missing return after error report.
This commit is contained in:
1 parent
0bd82cb1a7
commit
0e1cb07e84
1 file changed
+1
@@ -429,6 +429,7 @@ static const struct LinkLanguageNode : public cmGeneratorExpressionNode
|
||||
reportError(context, content->GetOriginalExpression(),
|
||||
"$<LINK_LANGUAGE> may only be used with targets. It may not "
|
||||
"be used with add_custom_command.");
|
||||
return std::string();
|
||||
}
|
||||
|
||||
const char *lang = target->GetLinkerLanguage(context->Config);
|
||||
|
||||
Reference in new issue
Block a user