mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-27 16:39:49 +03:00
Simplified code
This commit is contained in:
parent
19e3b1a296
commit
ecadd4cade
3
.github/workflows/wheels-dependencies.sh
vendored
3
.github/workflows/wheels-dependencies.sh
vendored
|
@ -42,11 +42,10 @@ if [[ "$CIBW_PLATFORM" == "ios" ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
IOS_SDK_PATH=$(xcrun --sdk $IOS_SDK --show-sdk-path)
|
IOS_SDK_PATH=$(xcrun --sdk $IOS_SDK --show-sdk-path)
|
||||||
if [[ "$IOS_SDK" == "iphonesimulator" ]]; then
|
|
||||||
CMAKE_SYSTEM_NAME=iOS
|
CMAKE_SYSTEM_NAME=iOS
|
||||||
|
if [[ "$IOS_SDK" == "iphonesimulator" ]]; then
|
||||||
IOS_HOST_TRIPLE=$PLAT-apple-ios$IPHONEOS_DEPLOYMENT_TARGET-simulator
|
IOS_HOST_TRIPLE=$PLAT-apple-ios$IPHONEOS_DEPLOYMENT_TARGET-simulator
|
||||||
else
|
else
|
||||||
CMAKE_SYSTEM_NAME=iOS
|
|
||||||
IOS_HOST_TRIPLE=$PLAT-apple-ios$IPHONEOS_DEPLOYMENT_TARGET
|
IOS_HOST_TRIPLE=$PLAT-apple-ios$IPHONEOS_DEPLOYMENT_TARGET
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user