diff options
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-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())) { |