Browse Source

BUG: Make the path change more localized to bundles only

Andy Cedilnik 19 years ago
parent
commit
9e9653713c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Source/cmLocalUnixMakefileGenerator3.cxx

+ 1 - 0
Source/cmLocalUnixMakefileGenerator3.cxx

@@ -1706,6 +1706,7 @@ cmLocalUnixMakefileGenerator3
     source.GetProperty("MACOSX_PACKAGE_LOCATION");
   if ( fileTargetDirectory )
     {
+    objectName = cmSystemTools::GetFilenameName(objectName.c_str());
     std::string targetName;
     std::string targetNameReal;
     target.GetExecutableNames(targetName, targetNameReal,