summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-07 22:26:50 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-14 22:41:40 (GMT)
commit55474e6182b49acc4183fffdebccc7ae2a7335fa (patch)
treefc5d65f70f0cc9159d93de0bfed3f4f913950096 /Source/cmLocalGenerator.cxx
parent38df5c36d66313a5dd7859c1c55a41f60f141b13 (diff)
downloadCMake-55474e6182b49acc4183fffdebccc7ae2a7335fa.zip
CMake-55474e6182b49acc4183fffdebccc7ae2a7335fa.tar.gz
CMake-55474e6182b49acc4183fffdebccc7ae2a7335fa.tar.bz2
cmState: Move GetTargetTypeName from cmTarget.
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r--Source/cmLocalGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index 2a12f2b..5e0ea8b 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -760,7 +760,7 @@ cmLocalGenerator::ExpandRuleVariable(std::string const& variable,
}
if(variable == "TARGET_TYPE")
{
- return cmTarget::GetTargetTypeName(replaceValues.CMTarget->GetType());
+ return cmState::GetTargetTypeName(replaceValues.CMTarget->GetType());
}
}
if(replaceValues.Output)
@@ -2134,7 +2134,7 @@ void cmLocalGenerator
w <<
cmPolicies::GetPolicyWarning(cmPolicies::CMP0063) << "\n"
"Target \"" << target->GetName() << "\" of "
- "type \"" << cmTarget::GetTargetTypeName(target->GetType()) << "\" "
+ "type \"" << cmState::GetTargetTypeName(target->GetType()) << "\" "
"has the following visibility properties set for " << lang << ":\n" <<
warnCMP0063 <<
"For compatibility CMake is not honoring them for this target.";