summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefileLibraryTargetGenerator.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/cmMakefileLibraryTargetGenerator.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/cmMakefileLibraryTargetGenerator.cxx')
-rw-r--r--Source/cmMakefileLibraryTargetGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefileLibraryTargetGenerator.cxx b/Source/cmMakefileLibraryTargetGenerator.cxx
index 36021dc..786afa3 100644
--- a/Source/cmMakefileLibraryTargetGenerator.cxx
+++ b/Source/cmMakefileLibraryTargetGenerator.cxx
@@ -256,7 +256,7 @@ void cmMakefileLibraryTargetGenerator::WriteLibraryRules
}
else
{
- outpath = this->Target->GetOutputDir();
+ outpath = this->Target->GetDirectory();
outpath += "/";
}
std::string targetFullPath = outpath + targetName;