summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGusts Kaksis <gusts.kaksis@sonarworks.com>2020-08-19 15:43:19 (GMT)
committerGusts Kaksis <gusts.kaksis@sonarworks.com>2020-08-28 18:20:38 (GMT)
commitdc0898205c7fcebcb5224ba3eb6dd95c05193bdd (patch)
tree5b134a12886802031754c83aef057de2ad593d0b
parent7b3d8411a2c051c98858dbc91cb51513ecc8242d (diff)
downloadCMake-dc0898205c7fcebcb5224ba3eb6dd95c05193bdd.zip
CMake-dc0898205c7fcebcb5224ba3eb6dd95c05193bdd.tar.gz
CMake-dc0898205c7fcebcb5224ba3eb6dd95c05193bdd.tar.bz2
Xcode: Add special case for file type extension map for .xcassets
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index 27fbab2..1e44620 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -1020,6 +1020,9 @@ std::string GetSourcecodeValueFromFileExtension(
} else if (ext == "dylib") {
keepLastKnownFileType = true;
sourcecode = "compiled.mach-o.dylib";
+ } else if (ext == "xcassets") {
+ keepLastKnownFileType = true;
+ sourcecode = "folder.assetcatalog";
}
// else
// {