summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2004-09-06 16:46:10 (GMT)
committerKen Martin <ken.martin@kitware.com>2004-09-06 16:46:10 (GMT)
commitce277b647bc4687cf5c06654782d57c3795880a1 (patch)
treec9f162aaae2957c578b4d7c6179c5f29b852974a /Source/cmGlobalGenerator.cxx
parentac188aa18b1b4f78c8562ebf2c2b098817186073 (diff)
downloadCMake-ce277b647bc4687cf5c06654782d57c3795880a1.zip
CMake-ce277b647bc4687cf5c06654782d57c3795880a1.tar.gz
CMake-ce277b647bc4687cf5c06654782d57c3795880a1.tar.bz2
warning fix
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r--Source/cmGlobalGenerator.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx
index 1c3be92..54b7264 100644
--- a/Source/cmGlobalGenerator.cxx
+++ b/Source/cmGlobalGenerator.cxx
@@ -129,15 +129,15 @@ void cmGlobalGenerator::EnableLanguage(std::vector<std::string>const& languages,
l != languages.end(); ++l)
{
const char* lang = l->c_str();
- std::string src = m_ConfiguredFilesPath;
- src += "/CMake";
- src += lang;
- src += "Compiler.cmake";
- std::string dst = rootBin;
- dst += "/CMake";
- dst += lang;
- dst += "Compiler.cmake";
- cmSystemTools::CopyFileIfDifferent(src.c_str(), dst.c_str());
+ std::string src2 = m_ConfiguredFilesPath;
+ src2 += "/CMake";
+ src2 += lang;
+ src2 += "Compiler.cmake";
+ std::string dst2 = rootBin;
+ dst2 += "/CMake";
+ dst2 += lang;
+ dst2 += "Compiler.cmake";
+ cmSystemTools::CopyFileIfDifferent(src2.c_str(), dst2.c_str());
}
rootBin = m_ConfiguredFilesPath;
}