mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-15 14:00:40 -05:00
.xcframework: Search Info.plist for "maccatalyst" instead of "catalyst"
This commit is contained in:
@@ -80,8 +80,8 @@ bool PlistSupportedPlatformVariantHelper(
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (value->asString() == "catalyst"_s) {
|
if (value->asString() == "maccatalyst"_s) {
|
||||||
variant = cmXcFrameworkPlistSupportedPlatformVariant::catalyst;
|
variant = cmXcFrameworkPlistSupportedPlatformVariant::maccatalyst;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (value->asString() == "simulator"_s) {
|
if (value->asString() == "simulator"_s) {
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ enum class cmXcFrameworkPlistSupportedPlatform
|
|||||||
|
|
||||||
enum class cmXcFrameworkPlistSupportedPlatformVariant
|
enum class cmXcFrameworkPlistSupportedPlatformVariant
|
||||||
{
|
{
|
||||||
catalyst,
|
maccatalyst,
|
||||||
simulator,
|
simulator,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user