summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudioGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-21 22:29:36 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-26 22:50:05 (GMT)
commitce43ed2cc14f96c56441da9908053737efbaaf2e (patch)
treeac13e2265708d32d565cfa13b2413bbe09aaca51 /Source/cmGlobalVisualStudioGenerator.cxx
parentd90c9738da7003b966036c70727611b17d17f3a6 (diff)
downloadCMake-ce43ed2cc14f96c56441da9908053737efbaaf2e.zip
CMake-ce43ed2cc14f96c56441da9908053737efbaaf2e.tar.gz
CMake-ce43ed2cc14f96c56441da9908053737efbaaf2e.tar.bz2
Use LocalGenerator when possible
Diffstat (limited to 'Source/cmGlobalVisualStudioGenerator.cxx')
-rw-r--r--Source/cmGlobalVisualStudioGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudioGenerator.cxx b/Source/cmGlobalVisualStudioGenerator.cxx
index b819dad..0488391 100644
--- a/Source/cmGlobalVisualStudioGenerator.cxx
+++ b/Source/cmGlobalVisualStudioGenerator.cxx
@@ -147,7 +147,7 @@ void cmGlobalVisualStudioGenerator::AddExtraIDETargets()
void cmGlobalVisualStudioGenerator
::ComputeTargetObjectDirectory(cmGeneratorTarget* gt) const
{
- std::string dir = gt->Makefile->GetCurrentBinaryDirectory();
+ std::string dir = gt->LocalGenerator->GetCurrentBinaryDirectory();
dir += "/";
std::string tgtDir = gt->LocalGenerator->GetTargetDirectory(gt);
if(!tgtDir.empty())