summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudioGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-10-28 12:48:08 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-10-28 12:48:08 (GMT)
commit2fd5fd1f4d93322e85d662c1467a46cd7da84560 (patch)
tree8c8137da252205a04292234d577a82909ac699a3 /Source/cmGlobalVisualStudioGenerator.cxx
parent1e8c920d0409770214a4ff517f6a4c31b9830f45 (diff)
parent13a37f5f76eb03e01e9ca225281531233ff0006c (diff)
downloadCMake-2fd5fd1f4d93322e85d662c1467a46cd7da84560.zip
CMake-2fd5fd1f4d93322e85d662c1467a46cd7da84560.tar.gz
CMake-2fd5fd1f4d93322e85d662c1467a46cd7da84560.tar.bz2
Merge topic 'minor-cleanups'
13a37f5f cmMakefile: Fix typo in comment 958508bb cmMakefile: Fix style 91a829c1 Makefiles: Remove unused variable e0213882 cmTarget: Remove obsolete member 0554c2c9 cmTarget: Fix style b22e5d0a Remove some obsolete declarations ce43ed2c Use LocalGenerator when possible d90c9738 Makefiles: Remove some unneeded casts 331023ae Export: Remove unused variable a03f3d0e cmFunctionBlocker: Constify method d50c4220 Xcode: Fix typo in comment 803f1901 Xcode: Remove trailing semicolon
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 bb0c974..6a1aa29 100644
--- a/Source/cmGlobalVisualStudioGenerator.cxx
+++ b/Source/cmGlobalVisualStudioGenerator.cxx
@@ -146,7 +146,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())