mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-05 04:03:22 +03:00
Allow empty source file list for iOS Sticker packs
This commit is contained in:
1 parent
0ab0fe64ac
commit
0a60d1b6b4
1 file changed
+8
@@ -1649,6 +1649,14 @@ void cmGlobalXCodeGenerator::ForceLinkerLanguage(cmGeneratorTarget* gtgt)
|
||||
}
|
||||
}
|
||||
|
||||
// Allow empty source file list for iOS Sticker packs
|
||||
if (const char* productType = GetTargetProductType(gtgt)) {
|
||||
if (strcmp(productType,
|
||||
"com.apple.product-type.app-extension.messages-sticker-pack") ==
|
||||
0)
|
||||
return;
|
||||
}
|
||||
|
||||
// Add an empty source file to the target that compiles with the
|
||||
// linker language. This should convince Xcode to choose the proper
|
||||
// language.
|
||||
|
||||
Reference in new issue
Block a user