summaryrefslogtreecommitdiff
path: root/Source/cmInstallDirectoryGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-02-27 11:26:38 -0500
committerBrad King <brad.king@kitware.com>2012-02-27 13:19:57 -0500
commit573fa3bf136e5c780d3dd7e2dc692d52b3eba96d (patch)
tree532b26ed0e999b0c6a061d970abf37139a161588 /Source/cmInstallDirectoryGenerator.cxx
parentcffebe643c9002ee3411c8f293abdf7c23fc622c (diff)
downloadcmake-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.cxx2
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(),