summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefileExecutableTargetGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-03-08 20:33:19 (GMT)
committerBrad King <brad.king@kitware.com>2007-03-08 20:33:19 (GMT)
commit01dc699d82af9bca7d9f4c1bdc9e453e764861ba (patch)
tree5a74141a229e9737198b5e774ebb0c3f45942c2d /Source/cmMakefileExecutableTargetGenerator.cxx
parent789a0f83594cd3bafcc9a3051a5ed53ec76c8684 (diff)
downloadCMake-01dc699d82af9bca7d9f4c1bdc9e453e764861ba.zip
CMake-01dc699d82af9bca7d9f4c1bdc9e453e764861ba.tar.gz
CMake-01dc699d82af9bca7d9f4c1bdc9e453e764861ba.tar.bz2
ENH: Combined cmTarget::GetDirectory and cmTarget::GetOutputDir since they are nearly the same. This is another step for bug#2240.
Diffstat (limited to 'Source/cmMakefileExecutableTargetGenerator.cxx')
-rw-r--r--Source/cmMakefileExecutableTargetGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefileExecutableTargetGenerator.cxx b/Source/cmMakefileExecutableTargetGenerator.cxx
index 0bbcb73..2b56a5a 100644
--- a/Source/cmMakefileExecutableTargetGenerator.cxx
+++ b/Source/cmMakefileExecutableTargetGenerator.cxx
@@ -116,7 +116,7 @@ void cmMakefileExecutableTargetGenerator::WriteExecutableRule(bool relink)
this->LocalGenerator->ConfigurationName.c_str());
// Construct the full path version of the names.
- std::string outpath = this->Target->GetOutputDir();
+ std::string outpath = this->Target->GetDirectory();
outpath += "/";
#ifdef __APPLE__
if(this->Target->GetPropertyAsBool("MACOSX_BUNDLE"))