summaryrefslogtreecommitdiff
path: root/Source/cmInstallFilesGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-04-27 13:20:57 -0400
committerBrad King <brad.king@kitware.com>2009-04-27 13:20:57 -0400
commitda993b64cebf0eabe296e9846e0a3d70fd786780 (patch)
tree20f42991166d6f1c46d160db1906134632a7e5b1 /Source/cmInstallFilesGenerator.cxx
parent0178268901b59bbec749885adf16d5e16cbf44fc (diff)
downloadcmake-da993b64cebf0eabe296e9846e0a3d70fd786780.tar.gz
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/cmInstallFilesGenerator.cxx')
-rw-r--r--Source/cmInstallFilesGenerator.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmInstallFilesGenerator.cxx b/Source/cmInstallFilesGenerator.cxx
index 843e31593b..176e7d5656 100644
--- a/Source/cmInstallFilesGenerator.cxx
+++ b/Source/cmInstallFilesGenerator.cxx
@@ -45,14 +45,13 @@ void cmInstallFilesGenerator::GenerateScriptActions(std::ostream& os,
Indent const& indent)
{
// Write code to install the files.
- const char* no_properties = 0;
const char* no_dir_permissions = 0;
this->AddInstallRule(os,
(this->Programs
? cmTarget::INSTALL_PROGRAMS
: cmTarget::INSTALL_FILES),
this->Files,
- this->Optional, no_properties,
+ this->Optional,
this->FilePermissions.c_str(), no_dir_permissions,
this->Rename.c_str(), 0, indent);
}