summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r--Source/cmake.cxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index 7929227..e5ebac7 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -1307,6 +1307,18 @@ int cmake::ExecuteCMakeCommand(std::vector<std::string>& args)
return 1;
}
+//----------------------------------------------------------------------------
+void cmake::AddInstallComponent(const char* component)
+{
+ if ( !component )
+ {
+ return;
+ }
+ this->InstallComponents.insert(component);
+}
+
+
+//----------------------------------------------------------------------------
void cmake::GetRegisteredGenerators(std::vector<std::string>& names)
{
for(RegisteredGeneratorsMap::const_iterator i = this->Generators.begin();