diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-10-31 19:28:48 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-10-31 19:28:48 (GMT) |
commit | 897a2a9029f96ce02349bd71c373a5278a655aa3 (patch) | |
tree | 9e88f94ce86c06ffc892ef5c9808cc57a38906a0 /Source/cmGlobalGenerator.cxx | |
parent | 605d8871bb2a8d3cd2798538db95a45ff8df5ef2 (diff) | |
download | CMake-897a2a9029f96ce02349bd71c373a5278a655aa3.zip CMake-897a2a9029f96ce02349bd71c373a5278a655aa3.tar.gz CMake-897a2a9029f96ce02349bd71c373a5278a655aa3.tar.bz2 |
ENH: Cleanup of install component list. There was already the list in the global generator. Use that one
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r-- | Source/cmGlobalGenerator.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index 40da2f61..cd54591 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx @@ -1470,8 +1470,7 @@ void cmGlobalGenerator::CreateDefaultGlobalTargets(cmTargets* targets) { if(!cmakeCfgIntDir || !*cmakeCfgIntDir || cmakeCfgIntDir[0] == '.') { - std::set<cmStdString>* componentsSet - = this->GetCMakeInstance()->GetInstallComponents(); + std::set<cmStdString>* componentsSet = &this->InstallComponents; cpackCommandLines.erase(cpackCommandLines.begin(), cpackCommandLines.end()); depends.erase(depends.begin(), depends.end()); @@ -1493,7 +1492,6 @@ void cmGlobalGenerator::CreateDefaultGlobalTargets(cmTargets* targets) ostr << "Only default component available"; } singleLine.push_back(ostr.str().c_str()); - //cpackCommandLines.push_back(singleLine); (*targets)["list_install_components"] = this->CreateGlobalTarget("list_install_components", ostr.str().c_str(), |