summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorhalx99 <halx99@live.com>2023-11-28 15:53:23 (GMT)
committerBrad King <brad.king@kitware.com>2023-11-28 17:06:29 (GMT)
commit6030df205a72c33f3497deb11a6a2b0bcfa3cfbb (patch)
tree7db7ac18e8aa5a3d60441a93e98de1a61b194349 /Source
parent01deb5809854b1ce1fdaa8fd8e31adf31a134904 (diff)
downloadCMake-6030df205a72c33f3497deb11a6a2b0bcfa3cfbb.zip
CMake-6030df205a72c33f3497deb11a6a2b0bcfa3cfbb.tar.gz
CMake-6030df205a72c33f3497deb11a6a2b0bcfa3cfbb.tar.bz2
Xcode: Fix embed resources prop name
Fix commit e40d2cb3af (Xcode: Add embed resources support, 2023-07-31, v3.28.0-rc1~281^2). The implementation should not name the `_PATH` suffix explicitly. That variant is automatically handled by `cmGlobalXCodeGenerator::AddEmbeddedObjects`.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index cce45a3..ec2550a 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -4273,9 +4273,8 @@ void cmGlobalXCodeGenerator::AddEmbeddedResources(cmXCodeObject* target)
{
static const auto dstSubfolderSpec = "7";
- this->AddEmbeddedObjects(target, "Embed Resources",
- "XCODE_EMBED_RESOURCES_PATH", dstSubfolderSpec,
- NoActionOnCopyByDefault);
+ this->AddEmbeddedObjects(target, "Embed Resources", "XCODE_EMBED_RESOURCES",
+ dstSubfolderSpec, NoActionOnCopyByDefault);
}
bool cmGlobalXCodeGenerator::CreateGroups(