diff options
author | Gusts Kaksis <gusts.kaksis@sonarworks.com> | 2020-08-19 15:43:19 (GMT) |
---|---|---|
committer | Gusts Kaksis <gusts.kaksis@sonarworks.com> | 2020-08-28 18:20:38 (GMT) |
commit | dc0898205c7fcebcb5224ba3eb6dd95c05193bdd (patch) | |
tree | 5b134a12886802031754c83aef057de2ad593d0b | |
parent | 7b3d8411a2c051c98858dbc91cb51513ecc8242d (diff) | |
download | CMake-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.cxx | 3 |
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 // { |