VS: Port ComputeLongestObjectDirectory to cmGeneratorTarget

This commit is contained in:
Stephen Kelly
2015-10-23 18:26:38 +02:00
parent 01c2698693
commit 26e23e8463
6 changed files with 11 additions and 10 deletions
+1 -1
View File
@@ -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.