summaryrefslogtreecommitdiffstats
path: root/Source/cmNinjaTargetGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-08-04 17:19:45 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-08-05 16:20:46 (GMT)
commita45fed81e5fd5d9b280c8dd70d50c9606a982a0b (patch)
tree138c275f924984a8e1aea8e9033cc29ea82d7cf3 /Source/cmNinjaTargetGenerator.cxx
parentf0aa660772565545cbcda9ed8ae946b8d5097416 (diff)
downloadCMake-a45fed81e5fd5d9b280c8dd70d50c9606a982a0b.zip
CMake-a45fed81e5fd5d9b280c8dd70d50c9606a982a0b.tar.gz
CMake-a45fed81e5fd5d9b280c8dd70d50c9606a982a0b.tar.bz2
cmGeneratorTarget: Move GetCompilePDBPath from cmTarget.
Diffstat (limited to 'Source/cmNinjaTargetGenerator.cxx')
-rw-r--r--Source/cmNinjaTargetGenerator.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmNinjaTargetGenerator.cxx b/Source/cmNinjaTargetGenerator.cxx
index cf80424..e61ba6f 100644
--- a/Source/cmNinjaTargetGenerator.cxx
+++ b/Source/cmNinjaTargetGenerator.cxx
@@ -277,7 +277,8 @@ bool cmNinjaTargetGenerator::SetMsvcTargetPdbVariable(cmNinjaVars& vars) const
}
if(this->Target->GetType() <= cmTarget::OBJECT_LIBRARY)
{
- compilePdbPath = this->Target->GetCompilePDBPath(this->GetConfigName());
+ compilePdbPath =
+ this->GeneratorTarget->GetCompilePDBPath(this->GetConfigName());
if(compilePdbPath.empty())
{
compilePdbPath = this->Target->GetSupportDirectory() + "/";