summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2016-10-08 10:21:37 (GMT)
committerStephen Kelly <steveire@gmail.com>2016-10-10 18:38:56 (GMT)
commitcbca80f3516d7e5b2def6105a1b26b44bad7b6fe (patch)
tree334f48e78adf8e346890f8b2b1aea1c9e538a039 /Source/cmLocalGenerator.cxx
parentd48f69d0f5f265d1c091a614098cae3ff4325fbe (diff)
downloadCMake-cbca80f3516d7e5b2def6105a1b26b44bad7b6fe.zip
CMake-cbca80f3516d7e5b2def6105a1b26b44bad7b6fe.tar.gz
CMake-cbca80f3516d7e5b2def6105a1b26b44bad7b6fe.tar.bz2
cmLocalGenerator: Move stringstream to where it is used
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r--Source/cmLocalGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index aec658a..565c0cd 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -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.