diff options
author | Clinton Stimpson <clinton@elemtech.com> | 2013-06-02 04:47:18 (GMT) |
---|---|---|
committer | Clinton Stimpson <clinton@elemtech.com> | 2013-06-03 12:29:33 (GMT) |
commit | 483e208482ff46532e7ae48659e569580a88af9c (patch) | |
tree | fe9d3910326c45e9df4c4129de5daa02a81e3e3c /Source/cmExportInstallFileGenerator.cxx | |
parent | 373faae5e1c936351b143b0561c61ef9884303e1 (diff) | |
download | CMake-483e208482ff46532e7ae48659e569580a88af9c.zip CMake-483e208482ff46532e7ae48659e569580a88af9c.tar.gz CMake-483e208482ff46532e7ae48659e569580a88af9c.tar.bz2 |
OS X: Fix getting of CFBundle LOCATION property.
This fixes bug #13797.
The kinds of changes applied in 373faae5 for frameworks are now
applied to CFBundle. The prefix and suffix for CFBundles are
now handled in cmTarget::GetFullNameInternal.
Diffstat (limited to 'Source/cmExportInstallFileGenerator.cxx')
-rw-r--r-- | Source/cmExportInstallFileGenerator.cxx | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/Source/cmExportInstallFileGenerator.cxx b/Source/cmExportInstallFileGenerator.cxx index fff807c..f3fda71 100644 --- a/Source/cmExportInstallFileGenerator.cxx +++ b/Source/cmExportInstallFileGenerator.cxx @@ -351,21 +351,7 @@ cmExportInstallFileGenerator prop += suffix; // Append the installed file name. - if(target->IsCFBundleOnApple()) - { - const char *ext = target->GetProperty("BUNDLE_EXTENSION"); - if (!ext) - { - ext = "bundle"; - } - - value += itgen->GetInstallFilename(target, config); - value += "."; - value += ext; - value += "/"; - value += itgen->GetInstallFilename(target, config); - } - else if(target->IsAppBundleOnApple()) + if(target->IsAppBundleOnApple()) { value += itgen->GetInstallFilename(target, config); value += ".app/Contents/MacOS/"; |