diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2008-10-01 16:45:49 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2008-10-01 16:45:49 (GMT) |
commit | 049e3da2ec4890ad3de15bd2abcc067269395f54 (patch) | |
tree | dc6b5146a70b83261e105a5f48f0aab2fe9c9400 | |
parent | ab409fec89127102bbeb25c238ea088bc892dd5e (diff) | |
download | CMake-049e3da2ec4890ad3de15bd2abcc067269395f54.zip CMake-049e3da2ec4890ad3de15bd2abcc067269395f54.tar.gz CMake-049e3da2ec4890ad3de15bd2abcc067269395f54.tar.bz2 |
STYLE: fix hidden variable warning
-rw-r--r-- | Source/cmGlobalGenerator.cxx | 4 |
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())) { |