summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-10-01 16:45:49 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-10-01 16:45:49 (GMT)
commit049e3da2ec4890ad3de15bd2abcc067269395f54 (patch)
treedc6b5146a70b83261e105a5f48f0aab2fe9c9400 /Source/cmGlobalGenerator.cxx
parentab409fec89127102bbeb25c238ea088bc892dd5e (diff)
downloadCMake-049e3da2ec4890ad3de15bd2abcc067269395f54.zip
CMake-049e3da2ec4890ad3de15bd2abcc067269395f54.tar.gz
CMake-049e3da2ec4890ad3de15bd2abcc067269395f54.tar.bz2
STYLE: fix hidden variable warning
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r--Source/cmGlobalGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx
index 1bfb14d..39891e7 100644
--- a/Source/cmGlobalGenerator.cxx
+++ b/Source/cmGlobalGenerator.cxx
@@ -1606,9 +1606,9 @@ void cmGlobalGenerator::CreateDefaultGlobalTargets(cmTargets* targets)
depends.erase(depends.begin(), depends.end());
singleLine.push_back(this->GetCMakeInstance()->GetCPackCommand());
singleLine.push_back("--config");
- std::string configFile = mf->GetStartOutputDirectory();;
+ configFile = mf->GetStartOutputDirectory();;
configFile += "/CPackSourceCConfig.cmake";
- std::string relConfigFile = "./CPackSourceConfig.cmake";
+ relConfigFile = "./CPackSourceConfig.cmake";
singleLine.push_back(relConfigFile);
if(cmSystemTools::FileExists(configFile.c_str()))
{