summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-11-26 15:01:49 (GMT)
committerBrad King <brad.king@kitware.com>2007-11-26 15:01:49 (GMT)
commitcc0386f7eae931d39e5bc0582a90c248e47f655a (patch)
tree3e8c1f0e79cf6a33fb6a02233b5fea82b87e514b /Source
parentab480c8e7ac39e69bc53efe3695a2faabdb5f350 (diff)
downloadCMake-cc0386f7eae931d39e5bc0582a90c248e47f655a.zip
CMake-cc0386f7eae931d39e5bc0582a90c248e47f655a.tar.gz
CMake-cc0386f7eae931d39e5bc0582a90c248e47f655a.tar.bz2
BUG: Fixed computation of 'object' name for MACOSX_PACKAGE_LOCATION source files.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx
index 285b2d1..f08018e 100644
--- a/Source/cmLocalUnixMakefileGenerator3.cxx
+++ b/Source/cmLocalUnixMakefileGenerator3.cxx
@@ -1724,8 +1724,8 @@ cmLocalUnixMakefileGenerator3
}
obj += fileTargetDirectory;
- obj = cmSystemTools::RelativePath
- (this->Makefile->GetHomeOutputDirectory(), obj.c_str());
+ // Object names are specified relative to the current build dir.
+ obj = this->Convert(obj.c_str(), START_OUTPUT);
obj += "/";
obj += objectName;
return obj;