summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallExportGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-04-27 17:20:57 (GMT)
committerBrad King <brad.king@kitware.com>2009-04-27 17:20:57 (GMT)
commitda993b64cebf0eabe296e9846e0a3d70fd786780 (patch)
tree20f42991166d6f1c46d160db1906134632a7e5b1 /Source/cmInstallExportGenerator.cxx
parent0178268901b59bbec749885adf16d5e16cbf44fc (diff)
downloadCMake-da993b64cebf0eabe296e9846e0a3d70fd786780.zip
CMake-da993b64cebf0eabe296e9846e0a3d70fd786780.tar.gz
CMake-da993b64cebf0eabe296e9846e0a3d70fd786780.tar.bz2
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.
Diffstat (limited to 'Source/cmInstallExportGenerator.cxx')
-rw-r--r--Source/cmInstallExportGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmInstallExportGenerator.cxx b/Source/cmInstallExportGenerator.cxx
index f4befb3..617fbb2 100644
--- a/Source/cmInstallExportGenerator.cxx
+++ b/Source/cmInstallExportGenerator.cxx
@@ -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);
}