summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator3.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-14 22:11:21 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-14 22:11:21 (GMT)
commit9f299a1225798f6485ab77c9140bf9c1d589e2fe (patch)
tree7f841300749b0b3aeb0e838b2bb5589f0d1a27fa /Source/cmLocalUnixMakefileGenerator3.cxx
parent088fcbf733a7d1968fc3586a7077f22cb41e1917 (diff)
downloadCMake-9f299a1225798f6485ab77c9140bf9c1d589e2fe.zip
CMake-9f299a1225798f6485ab77c9140bf9c1d589e2fe.tar.gz
CMake-9f299a1225798f6485ab77c9140bf9c1d589e2fe.tar.bz2
cmLocalUnixMakefileGenerator3: Port API to cmGenertorTarget.
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.cxx')
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx
index 91c7acd..c08ea8a 100644
--- a/Source/cmLocalUnixMakefileGenerator3.cxx
+++ b/Source/cmLocalUnixMakefileGenerator3.cxx
@@ -209,7 +209,7 @@ GetLocalObjectFiles(std::map<std::string, LocalObjectInfo> &localObjectFiles)
}
LocalObjectInfo& info = localObjectFiles[objectName];
info.HasSourceExtension = hasSourceExtension;
- info.push_back(LocalObjectEntry(gt->Target, sf->GetLanguage()));
+ info.push_back(LocalObjectEntry(gt, sf->GetLanguage()));
}
}
}
@@ -389,7 +389,7 @@ cmLocalUnixMakefileGenerator3
t != info.end(); ++t)
{
std::string tgtMakefileName =
- this->GetRelativeTargetDirectory(*(t->Target));
+ this->GetRelativeTargetDirectory(*(t->Target->Target));
std::string targetName = tgtMakefileName;
tgtMakefileName += "/build.make";
targetName += "/";