diff options
author | Brad King <brad.king@kitware.com> | 2012-02-27 16:26:38 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-02-27 18:19:57 (GMT) |
commit | 573fa3bf136e5c780d3dd7e2dc692d52b3eba96d (patch) | |
tree | 532b26ed0e999b0c6a061d970abf37139a161588 /Source/cmInstallDirectoryGenerator.cxx | |
parent | cffebe643c9002ee3411c8f293abdf7c23fc622c (diff) | |
download | CMake-573fa3bf136e5c780d3dd7e2dc692d52b3eba96d.zip CMake-573fa3bf136e5c780d3dd7e2dc692d52b3eba96d.tar.gz CMake-573fa3bf136e5c780d3dd7e2dc692d52b3eba96d.tar.bz2 |
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 ab32f94..ddf7d08 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(), |