summaryrefslogtreecommitdiffstats
path: root/Source/cmNinjaTargetGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-06-03 13:56:32 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-06-03 13:56:32 (GMT)
commitb0759da303ebf8a49cb840504591c92fd290f419 (patch)
treebdf08b3919b5c068e51fef9040ac05432e2481d4 /Source/cmNinjaTargetGenerator.cxx
parent800e764e8047e194cb5532b6528104a16f83bd8f (diff)
parent373faae5e1c936351b143b0561c61ef9884303e1 (diff)
downloadCMake-b0759da303ebf8a49cb840504591c92fd290f419.zip
CMake-b0759da303ebf8a49cb840504591c92fd290f419.tar.gz
CMake-b0759da303ebf8a49cb840504591c92fd290f419.tar.bz2
Merge topic 'framework-refactor'
373faae Refactor how bundles and frameworks are supported.
Diffstat (limited to 'Source/cmNinjaTargetGenerator.cxx')
-rw-r--r--Source/cmNinjaTargetGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmNinjaTargetGenerator.cxx b/Source/cmNinjaTargetGenerator.cxx
index 850e5ea..532ee67 100644
--- a/Source/cmNinjaTargetGenerator.cxx
+++ b/Source/cmNinjaTargetGenerator.cxx
@@ -699,7 +699,7 @@ cmNinjaTargetGenerator::MacOSXContentGeneratorType::operator()(
cmSourceFile& source, const char* pkgloc)
{
// Skip OS X content when not building a Framework or Bundle.
- if(this->Generator->OSXBundleGenerator->GetMacContentDirectory().empty())
+ if(!this->Generator->GetTarget()->IsBundleOnApple())
{
return;
}