BUG: Fixed computation of 'object' name for MACOSX_PACKAGE_LOCATION source files.

This commit is contained in:
Brad King 2007-11-26 10:01:49 -05:00
parent ab480c8e7a
commit cc0386f7ea
1 changed files with 2 additions and 2 deletions

View File

@ -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;