summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.h
diff options
context:
space:
mode:
authorGregor Jasny <gjasny@googlemail.com>2017-02-26 21:12:44 (GMT)
committerGregor Jasny <gjasny@googlemail.com>2017-03-22 22:36:11 (GMT)
commit060be58c6f9ffe11235341bc10c8f5d808e31b3d (patch)
tree499131398261812a2f530e63567bed3d1e2db283 /Source/cmGeneratorTarget.h
parent484ccb0c454afa36da6b36e4ca5e0258e1739b3d (diff)
downloadCMake-060be58c6f9ffe11235341bc10c8f5d808e31b3d.zip
CMake-060be58c6f9ffe11235341bc10c8f5d808e31b3d.tar.gz
CMake-060be58c6f9ffe11235341bc10c8f5d808e31b3d.tar.bz2
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 68d6ef8..d60ad24 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
{