summaryrefslogtreecommitdiff
path: root/Source/cmGeneratorTarget.h
diff options
context:
space:
mode:
authorGregor Jasny <gjasny@googlemail.com>2017-02-26 22:12:44 +0100
committerGregor Jasny <gjasny@googlemail.com>2017-03-22 23:36:11 +0100
commit060be58c6f9ffe11235341bc10c8f5d808e31b3d (patch)
tree499131398261812a2f530e63567bed3d1e2db283 /Source/cmGeneratorTarget.h
parent484ccb0c454afa36da6b36e4ca5e0258e1739b3d (diff)
downloadcmake-060be58c6f9ffe11235341bc10c8f5d808e31b3d.tar.gz
Xcode: Properly handle Bundle Resources with more than one hierarchy level
Issue: #16680
Diffstat (limited to 'Source/cmGeneratorTarget.h')
-rw-r--r--Source/cmGeneratorTarget.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmGeneratorTarget.h b/Source/cmGeneratorTarget.h
index 68d6ef8d38..d60ad24d05 100644
--- a/Source/cmGeneratorTarget.h
+++ b/Source/cmGeneratorTarget.h
@@ -422,7 +422,9 @@ public:
SourceFileTypePublicHeader, // is in "PUBLIC_HEADER" target property
SourceFileTypeResource, // is in "RESOURCE" target property *or*
// has MACOSX_PACKAGE_LOCATION=="Resources"
- SourceFileTypeMacContent // has MACOSX_PACKAGE_LOCATION!="Resources"
+ SourceFileTypeDeepResource, // MACOSX_PACKAGE_LOCATION starts with
+ // "Resources/"
+ SourceFileTypeMacContent // has MACOSX_PACKAGE_LOCATION!="Resources[/]"
};
struct SourceFileFlags
{