summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorPeter Kuemmel <syntheticpp@gmx.net>2012-07-06 08:16:45 (GMT)
committerDavid Cole <david.cole@kitware.com>2012-07-09 18:15:08 (GMT)
commit6b31d395513fe8ea7b17489b7235c16c1ebad7e1 (patch)
tree6075d08fd1da6c1f867fde7c45b633d359f19a6a /Source
parent9b311fbee66d98b5396f6327305d5163ab78285c (diff)
downloadCMake-6b31d395513fe8ea7b17489b7235c16c1ebad7e1.zip
CMake-6b31d395513fe8ea7b17489b7235c16c1ebad7e1.tar.gz
CMake-6b31d395513fe8ea7b17489b7235c16c1ebad7e1.tar.bz2
Ninja: don't shadow 'outputs' variable
Diffstat (limited to 'Source')
-rw-r--r--Source/cmNinjaNormalTargetGenerator.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmNinjaNormalTargetGenerator.cxx b/Source/cmNinjaNormalTargetGenerator.cxx
index 4787cb3..0cf90aa 100644
--- a/Source/cmNinjaNormalTargetGenerator.cxx
+++ b/Source/cmNinjaNormalTargetGenerator.cxx
@@ -508,20 +508,20 @@ void cmNinjaNormalTargetGenerator::WriteLinkStatement()
emptyDeps,
symlinkVars);
} else {
- cmNinjaDeps outputs;
+ cmNinjaDeps symlinks;
const std::string soName = this->GetTargetFilePath(this->TargetNameSO);
// If one link has to be created.
if (targetOutputReal == soName || targetOutput == soName) {
symlinkVars["SONAME"] = soName;
} else {
symlinkVars["SONAME"] = "";
- outputs.push_back(soName);
+ symlinks.push_back(soName);
}
- outputs.push_back(targetOutput);
+ symlinks.push_back(targetOutput);
cmGlobalNinjaGenerator::WriteBuild(this->GetBuildFileStream(),
"Create library symlink " + targetOutput,
"CMAKE_SYMLINK_LIBRARY",
- outputs,
+ symlinks,
cmNinjaDeps(1, targetOutputReal),
emptyDeps,
emptyDeps,