summaryrefslogtreecommitdiffstats
path: root/Source/cmComputeTargetDepends.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-14 21:14:43 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-14 22:41:19 (GMT)
commit983c00f8f97260e7650fcc440047b33898f0363c (patch)
tree49fc7fc17465e7d613e82d6cf305fdc4bf3f2f12 /Source/cmComputeTargetDepends.cxx
parent088fcbf733a7d1968fc3586a7077f22cb41e1917 (diff)
downloadCMake-983c00f8f97260e7650fcc440047b33898f0363c.zip
CMake-983c00f8f97260e7650fcc440047b33898f0363c.tar.gz
CMake-983c00f8f97260e7650fcc440047b33898f0363c.tar.bz2
Generators: Use GetType from the cmGeneratorTarget.
Diffstat (limited to 'Source/cmComputeTargetDepends.cxx')
-rw-r--r--Source/cmComputeTargetDepends.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmComputeTargetDepends.cxx b/Source/cmComputeTargetDepends.cxx
index 8f3def2..4094bf0 100644
--- a/Source/cmComputeTargetDepends.cxx
+++ b/Source/cmComputeTargetDepends.cxx
@@ -554,7 +554,8 @@ cmComputeTargetDepends
// Describe the depender.
e << " \"" << depender->GetName() << "\" of type "
- << cmTarget::GetTargetTypeName(depender->Target->GetType()) << "\n";
+ << cmTarget::GetTargetTypeName(
+ (cmTarget::TargetType)depender->GetType()) << "\n";
// List its dependencies that are inside the component.
EdgeList const& nl = this->InitialGraph[i];