summaryrefslogtreecommitdiffstats
path: root/Source/cmVisualStudio10TargetGenerator.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/cmVisualStudio10TargetGenerator.cxx
parentf0aa660772565545cbcda9ed8ae946b8d5097416 (diff)
downloadCMake-a45fed81e5fd5d9b280c8dd70d50c9606a982a0b.zip
CMake-a45fed81e5fd5d9b280c8dd70d50c9606a982a0b.tar.gz
CMake-a45fed81e5fd5d9b280c8dd70d50c9606a982a0b.tar.bz2
cmGeneratorTarget: Move GetCompilePDBPath from cmTarget.
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r--Source/cmVisualStudio10TargetGenerator.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx
index 83775a5..16edf3c 100644
--- a/Source/cmVisualStudio10TargetGenerator.cxx
+++ b/Source/cmVisualStudio10TargetGenerator.cxx
@@ -2026,7 +2026,8 @@ void cmVisualStudio10TargetGenerator::WriteClOptions(
}
// Specify the compiler program database file if configured.
- std::string pdb = this->Target->GetCompilePDBPath(configName.c_str());
+ std::string pdb =
+ this->GeneratorTarget->GetCompilePDBPath(configName.c_str());
if(!pdb.empty())
{
this->ConvertToWindowsSlash(pdb);