Commit 3c68404c authored by Brad King's avatar Brad King Committed by Kitware Robot
Browse files

Merge topic 'xcode-ios-empty-sticker-pack'

0a60d1b6

 Allow empty source file list for iOS Sticker packs
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !5587
parents 2236e910 0a60d1b6
Pipeline #204242 canceled with stages
in 40 minutes and 53 seconds
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment