summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallFilesGenerator.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmInstallFilesGenerator.cxx')
-rw-r--r--Source/cmInstallFilesGenerator.cxx10
1 files changed, 7 insertions, 3 deletions
diff --git a/Source/cmInstallFilesGenerator.cxx b/Source/cmInstallFilesGenerator.cxx
index ff32fe2..bf0d830 100644
--- a/Source/cmInstallFilesGenerator.cxx
+++ b/Source/cmInstallFilesGenerator.cxx
@@ -22,9 +22,11 @@
cmInstallFilesGenerator
::cmInstallFilesGenerator(std::vector<std::string> const& files,
const char* dest, bool programs,
- const char* permissions, const char* rename):
+ const char* permissions,
+ const char* component,
+ const char* rename):
Files(files), Destination(dest), Programs(programs),
- Permissions(permissions), Rename(rename)
+ Permissions(permissions), Component(component), Rename(rename)
{
}
@@ -48,6 +50,8 @@ void cmInstallFilesGenerator::GenerateScript(std::ostream& os)
? cmTarget::INSTALL_PROGRAMS
: cmTarget::INSTALL_FILES), fi->c_str(),
not_optional, no_properties,
- this->Permissions.c_str(), this->Rename.c_str());
+ this->Permissions.c_str(),
+ this->Component.c_str(),
+ this->Rename.c_str());
}
}