summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator3.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-07-06 17:52:02 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-07-06 17:52:02 (GMT)
commit9e9653713cf10727c05049da50dc153be237be30 (patch)
treef75ff98291cc07bd9751b7a1fcd64006742231e3 /Source/cmLocalUnixMakefileGenerator3.cxx
parent46febb9a2b64a87c30d4fbbf743ef8f78069db24 (diff)
downloadCMake-9e9653713cf10727c05049da50dc153be237be30.zip
CMake-9e9653713cf10727c05049da50dc153be237be30.tar.gz
CMake-9e9653713cf10727c05049da50dc153be237be30.tar.bz2
BUG: Make the path change more localized to bundles only
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.cxx')
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx
index 3f5be33..f1d91f1 100644
--- a/Source/cmLocalUnixMakefileGenerator3.cxx
+++ b/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,