diff options
author | Brad King <brad.king@kitware.com> | 2007-11-26 15:01:49 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-11-26 15:01:49 (GMT) |
commit | cc0386f7eae931d39e5bc0582a90c248e47f655a (patch) | |
tree | 3e8c1f0e79cf6a33fb6a02233b5fea82b87e514b /Source | |
parent | ab480c8e7ac39e69bc53efe3695a2faabdb5f350 (diff) | |
download | CMake-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.cxx | 4 |
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; |