mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-01 03:29:18 -05:00
cmLocalGenerator: Inline last use of local variable
This commit is contained in:
@@ -1404,8 +1404,6 @@ void cmLocalGenerator::OutputLinkLibraries(
|
||||
{
|
||||
OutputFormat shellFormat =
|
||||
(forResponseFile) ? RESPONSE : ((useWatcomQuote) ? WATCOMQUOTE : SHELL);
|
||||
bool escapeAllowMakeVars = !forResponseFile;
|
||||
|
||||
cmComputeLinkInformation& cli = *pcli;
|
||||
|
||||
std::string linkLanguage = cli.GetLinkLanguage();
|
||||
@@ -1457,7 +1455,7 @@ void cmLocalGenerator::OutputLinkLibraries(
|
||||
std::string rpath_link = cli.GetRPathLinkString();
|
||||
if (!cli.GetRPathLinkFlag().empty() && !rpath_link.empty()) {
|
||||
fout << cli.GetRPathLinkFlag();
|
||||
fout << this->EscapeForShell(rpath_link, escapeAllowMakeVars);
|
||||
fout << this->EscapeForShell(rpath_link, !forResponseFile);
|
||||
fout << " ";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user