summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudioGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-23 16:26:38 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-24 07:19:56 (GMT)
commit26e23e8463f9b9e2298e317a70925c56bcb018d1 (patch)
tree253cfc82f2fd077096cfca909e3d959df90fe3c0 /Source/cmLocalVisualStudioGenerator.cxx
parent01c26986931a409dbb246b780b808c51aea35c2b (diff)
downloadCMake-26e23e8463f9b9e2298e317a70925c56bcb018d1.zip
CMake-26e23e8463f9b9e2298e317a70925c56bcb018d1.tar.gz
CMake-26e23e8463f9b9e2298e317a70925c56bcb018d1.tar.bz2
VS: Port ComputeLongestObjectDirectory to cmGeneratorTarget
Diffstat (limited to 'Source/cmLocalVisualStudioGenerator.cxx')
-rw-r--r--Source/cmLocalVisualStudioGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalVisualStudioGenerator.cxx b/Source/cmLocalVisualStudioGenerator.cxx
index 2f44fb7..8516ce7 100644
--- a/Source/cmLocalVisualStudioGenerator.cxx
+++ b/Source/cmLocalVisualStudioGenerator.cxx
@@ -43,7 +43,7 @@ void cmLocalVisualStudioGenerator::ComputeObjectFilenames(
std::map<cmSourceFile const*, std::string>& mapping,
cmGeneratorTarget const* gt)
{
- std::string dir_max = this->ComputeLongestObjectDirectory(*gt->Target);
+ std::string dir_max = this->ComputeLongestObjectDirectory(gt);
// Count the number of object files with each name. Note that
// windows file names are not case sensitive.