summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.cxx8
1 files changed, 2 insertions, 6 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx
index 3c616ed..9869977 100644
--- a/Source/cmLocalUnixMakefileGenerator3.cxx
+++ b/Source/cmLocalUnixMakefileGenerator3.cxx
@@ -1679,12 +1679,8 @@ cmLocalUnixMakefileGenerator3
if ( target.GetPropertyAsBool("MACOSX_BUNDLE") )
{
// Construct the full path version of the names.
- obj = this->ExecutableOutputPath;
- if(obj.empty())
- {
- obj = this->Makefile->GetStartOutputDirectory();
- obj += "/";
- }
+ obj = target.GetDirectory();
+ obj += "/";
obj += targetName + ".app/Contents/";
obj += fileTargetDirectory;
}