summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefileExecutableTargetGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-10-20 18:31:47 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-08 23:04:37 (GMT)
commit8b0168863ed121c7d9f05e3282e2f59490ff6c42 (patch)
treede9d3bd38dbccd54dd9e11d03d79840bb1a5babe /Source/cmMakefileExecutableTargetGenerator.cxx
parente0261a1e20f14cc2ca593bb978479b52954397d8 (diff)
downloadCMake-8b0168863ed121c7d9f05e3282e2f59490ff6c42.zip
CMake-8b0168863ed121c7d9f05e3282e2f59490ff6c42.tar.gz
CMake-8b0168863ed121c7d9f05e3282e2f59490ff6c42.tar.bz2
cmGeneratorTarget: Move GetDirectory from cmTarget.
Diffstat (limited to 'Source/cmMakefileExecutableTargetGenerator.cxx')
-rw-r--r--Source/cmMakefileExecutableTargetGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmMakefileExecutableTargetGenerator.cxx b/Source/cmMakefileExecutableTargetGenerator.cxx
index 90f679e..eebee83 100644
--- a/Source/cmMakefileExecutableTargetGenerator.cxx
+++ b/Source/cmMakefileExecutableTargetGenerator.cxx
@@ -99,7 +99,7 @@ void cmMakefileExecutableTargetGenerator::WriteExecutableRule(bool relink)
this->ConfigName);
// Construct the full path version of the names.
- std::string outpath = this->Target->GetDirectory(this->ConfigName);
+ std::string outpath = this->GeneratorTarget->GetDirectory(this->ConfigName);
if(this->Target->IsAppBundleOnApple())
{
this->OSXBundleGenerator->CreateAppBundle(targetName, outpath);
@@ -123,7 +123,7 @@ void cmMakefileExecutableTargetGenerator::WriteExecutableRule(bool relink)
cmSystemTools::MakeDirectory(outpath.c_str());
if(!targetNameImport.empty())
{
- outpathImp = this->Target->GetDirectory(this->ConfigName, true);
+ outpathImp = this->GeneratorTarget->GetDirectory(this->ConfigName, true);
cmSystemTools::MakeDirectory(outpathImp.c_str());
outpathImp += "/";
}