summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-12-19 13:26:57 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2014-12-19 13:26:57 (GMT)
commitccd5822a8322155a491ad871fa135cfce1ef9a88 (patch)
tree60c1a65be27fabf3d7d17bc39c1595a367f9be8d /Source/cmGlobalXCodeGenerator.cxx
parent1ac8523c3bd4f404d8306b3d5fe905e1d988461c (diff)
parentb189c5994d94b8dd0afdf14844db4a4be28cf4b1 (diff)
downloadCMake-ccd5822a8322155a491ad871fa135cfce1ef9a88.zip
CMake-ccd5822a8322155a491ad871fa135cfce1ef9a88.tar.gz
CMake-ccd5822a8322155a491ad871fa135cfce1ef9a88.tar.bz2
Merge topic 'osx-cfbundle-tweaks'
b189c599 Tests: Run CFBundleTest only with valid configuration 3a605693 Xcode: Call IsCFBundleOnApple to decide if bundle is being built 207b7af0 cmTarget: Use GetCFBundleDirectory within GetFullNameInternal
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index de6e915..6a480a9 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -1925,7 +1925,7 @@ void cmGlobalXCodeGenerator::CreateBuildSettings(cmTarget& target,
{
buildSettings->AddAttribute("LIBRARY_STYLE",
this->CreateString("BUNDLE"));
- if (target.GetPropertyAsBool("BUNDLE"))
+ if (target.IsCFBundleOnApple())
{
// It turns out that a BUNDLE is basically the same
// in many ways as an application bundle, as far as