mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-07 22:59:56 -05:00
ENH: Remove unused PROPERTIES from file(INSTALL)
The undocumented file(INSTALL) command used to support a PROPERTIES option, but no install code still uses it. This removes the option.
This commit is contained in:
@@ -191,7 +191,7 @@ cmInstallExportGenerator::GenerateScriptConfigs(std::ostream& os,
|
||||
files.push_back(i->second);
|
||||
std::string config_test = this->CreateConfigTest(i->first.c_str());
|
||||
os << indent << "IF(" << config_test << ")\n";
|
||||
this->AddInstallRule(os, cmTarget::INSTALL_FILES, files, false, 0,
|
||||
this->AddInstallRule(os, cmTarget::INSTALL_FILES, files, false,
|
||||
this->FilePermissions.c_str(), 0, 0, 0,
|
||||
indent.Next());
|
||||
os << indent << "ENDIF(" << config_test << ")\n";
|
||||
@@ -230,6 +230,6 @@ void cmInstallExportGenerator::GenerateScriptActions(std::ostream& os,
|
||||
// Install the main export file.
|
||||
std::vector<std::string> files;
|
||||
files.push_back(this->MainImportFile);
|
||||
this->AddInstallRule(os, cmTarget::INSTALL_FILES, files, false, 0,
|
||||
this->AddInstallRule(os, cmTarget::INSTALL_FILES, files, false,
|
||||
this->FilePermissions.c_str(), 0, 0, 0, indent);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user