cmLocalGenerator: Move stringstream to where it is used

This commit is contained in:
Stephen Kelly
2016-10-08 12:21:37 +02:00
parent d48f69d0f5
commit cbca80f351
+1 -1
View File
@@ -1406,7 +1406,6 @@ void cmLocalGenerator::OutputLinkLibraries(
OutputFormat shellFormat =
(forResponseFile) ? RESPONSE : ((useWatcomQuote) ? WATCOMQUOTE : SHELL);
bool escapeAllowMakeVars = !forResponseFile;
std::ostringstream fout;
cmComputeLinkInformation& cli = *pcli;
@@ -1498,6 +1497,7 @@ void cmLocalGenerator::OutputLinkLibraries(
}
}
std::ostringstream fout;
fout << rpath;
// Write the library flags to the build rule.