diff options
-rw-r--r-- | Source/cmLocalUnixMakefileGenerator3.cxx | 1 |
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, |