summaryrefslogtreecommitdiffstats
path: root/Source/cmExportInstallFileGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-06-04 13:02:46 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-06-04 13:02:46 (GMT)
commit05e47f21222f0c14735ce1431a74a5ad974cb1a2 (patch)
tree1ad5af2b4247cd4feeeb08a0f7f01194ef3bb8b5 /Source/cmExportInstallFileGenerator.cxx
parentb418327d1b85944d137913faf6c04537b5894e2f (diff)
parent483e208482ff46532e7ae48659e569580a88af9c (diff)
downloadCMake-05e47f21222f0c14735ce1431a74a5ad974cb1a2.zip
CMake-05e47f21222f0c14735ce1431a74a5ad974cb1a2.tar.gz
CMake-05e47f21222f0c14735ce1431a74a5ad974cb1a2.tar.bz2
Merge topic 'cfbundle-location'
483e208 OS X: Fix getting of CFBundle LOCATION property.
Diffstat (limited to 'Source/cmExportInstallFileGenerator.cxx')
-rw-r--r--Source/cmExportInstallFileGenerator.cxx16
1 files changed, 1 insertions, 15 deletions
diff --git a/Source/cmExportInstallFileGenerator.cxx b/Source/cmExportInstallFileGenerator.cxx
index dfcf472..ea671cc 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/";