diff options
author | Gregor Jasny <gjasny@googlemail.com> | 2017-02-26 21:12:44 (GMT) |
---|---|---|
committer | Gregor Jasny <gjasny@googlemail.com> | 2017-03-22 22:36:11 (GMT) |
commit | 060be58c6f9ffe11235341bc10c8f5d808e31b3d (patch) | |
tree | 499131398261812a2f530e63567bed3d1e2db283 /Source/cmGeneratorTarget.cxx | |
parent | 484ccb0c454afa36da6b36e4ca5e0258e1739b3d (diff) | |
download | CMake-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.cxx')
-rw-r--r-- | Source/cmGeneratorTarget.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx index e27424f..64b05c3 100644 --- a/Source/cmGeneratorTarget.cxx +++ b/Source/cmGeneratorTarget.cxx @@ -3317,6 +3317,8 @@ cmGeneratorTarget::GetTargetSourceFileFlags(const cmSourceFile* sf) const flags.MacFolder = location; if (strcmp(location, "Resources") == 0) { flags.Type = cmGeneratorTarget::SourceFileTypeResource; + } else if (cmSystemTools::StringStartsWith(location, "Resources/")) { + flags.Type = cmGeneratorTarget::SourceFileTypeDeepResource; } else { flags.Type = cmGeneratorTarget::SourceFileTypeMacContent; } |