diff options
author | Brad King <brad.king@kitware.com> | 2012-02-27 11:26:38 -0500 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-02-27 13:19:57 -0500 |
commit | 573fa3bf136e5c780d3dd7e2dc692d52b3eba96d (patch) | |
tree | 532b26ed0e999b0c6a061d970abf37139a161588 /Source/cmInstallDirectoryGenerator.cxx | |
parent | cffebe643c9002ee3411c8f293abdf7c23fc622c (diff) | |
download | cmake-573fa3bf136e5c780d3dd7e2dc692d52b3eba96d.tar.gz |
Factor cmInstallType out of cmTarget::TargetType
The purpose of the TargetType enumeration was overloaded for install
type because install rules were once recorded as targets. Factor the
install types out into their own enumeration.
Diffstat (limited to 'Source/cmInstallDirectoryGenerator.cxx')
-rw-r--r-- | Source/cmInstallDirectoryGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmInstallDirectoryGenerator.cxx b/Source/cmInstallDirectoryGenerator.cxx index ab32f94889..ddf7d08cc5 100644 --- a/Source/cmInstallDirectoryGenerator.cxx +++ b/Source/cmInstallDirectoryGenerator.cxx @@ -42,7 +42,7 @@ cmInstallDirectoryGenerator::GenerateScriptActions(std::ostream& os, { // Write code to install the directories. const char* no_rename = 0; - this->AddInstallRule(os, cmTarget::INSTALL_DIRECTORY, + this->AddInstallRule(os, cmInstallType_DIRECTORY, this->Directories, this->Optional, this->FilePermissions.c_str(), |