Commit cbca80f3 authored by Stephen Kelly's avatar Stephen Kelly
Browse files

cmLocalGenerator: Move stringstream to where it is used

parent d48f69d0
Pipeline #30056 passed with stage
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment