summaryrefslogtreecommitdiffstats
path: root/Source/cmNinjaTargetGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-08-05 16:39:17 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-08 23:04:37 (GMT)
commit50dc9b44404f4f31aa24cf17247f10539c3807b2 (patch)
tree094bd641833f511b4659a7372775fcf6f9f7d501 /Source/cmNinjaTargetGenerator.cxx
parent8b0168863ed121c7d9f05e3282e2f59490ff6c42 (diff)
downloadCMake-50dc9b44404f4f31aa24cf17247f10539c3807b2.zip
CMake-50dc9b44404f4f31aa24cf17247f10539c3807b2.tar.gz
CMake-50dc9b44404f4f31aa24cf17247f10539c3807b2.tar.bz2
cmGeneratorTarget: Move GetPDBDirectory from cmTarget.
Diffstat (limited to 'Source/cmNinjaTargetGenerator.cxx')
-rw-r--r--Source/cmNinjaTargetGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmNinjaTargetGenerator.cxx b/Source/cmNinjaTargetGenerator.cxx
index 33e08a3..c2daa63 100644
--- a/Source/cmNinjaTargetGenerator.cxx
+++ b/Source/cmNinjaTargetGenerator.cxx
@@ -289,7 +289,7 @@ bool cmNinjaTargetGenerator::SetMsvcTargetPdbVariable(cmNinjaVars& vars) const
this->Target->GetType() == cmTarget::SHARED_LIBRARY ||
this->Target->GetType() == cmTarget::MODULE_LIBRARY)
{
- pdbPath = this->Target->GetPDBDirectory(this->GetConfigName());
+ pdbPath = this->GeneratorTarget->GetPDBDirectory(this->GetConfigName());
pdbPath += "/";
pdbPath += this->GeneratorTarget->GetPDBName(this->GetConfigName());
}