diff options
author | Brad King <brad.king@kitware.com> | 2007-03-08 19:15:45 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-03-08 19:15:45 (GMT) |
commit | ea19994b13273cf6e1f7677cc29ce53cf1a59768 (patch) | |
tree | a352d5ce02354ff5b295da216d0b2baa4793b55b /Source/cmLocalUnixMakefileGenerator3.cxx | |
parent | d65db7c6bb7959662fa9a3805c50d7605b9aecc0 (diff) | |
download | CMake-ea19994b13273cf6e1f7677cc29ce53cf1a59768.zip CMake-ea19994b13273cf6e1f7677cc29ce53cf1a59768.tar.gz CMake-ea19994b13273cf6e1f7677cc29ce53cf1a59768.tar.bz2 |
ENH: Ask the target for its own directory in case of bundle instead of directly using ExecutableOutputPath.
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.cxx')
-rw-r--r-- | Source/cmLocalUnixMakefileGenerator3.cxx | 8 |
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; } |