diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-09-30 11:02:17 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-09-30 11:02:17 +0200 |
commit | c9527516e32d7811c15e948ee867757bb47a9c2a (patch) | |
tree | 808f9b16a9d29a52c2df8fb2af3f9e752dc5b181 /platform/ios/detect.py | |
parent | 44e399ed5fa895f760b2995e59788bdb49782666 (diff) | |
parent | e1c7104e46fd3d2f97d365cb4b816b9c78e9e5df (diff) | |
download | redot-engine-c9527516e32d7811c15e948ee867757bb47a9c2a.tar.gz |
Merge pull request #82458 from bruvzg/ios_build_fix
[iOS] Fix build with Xcode 15.
Diffstat (limited to 'platform/ios/detect.py')
-rw-r--r-- | platform/ios/detect.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/platform/ios/detect.py b/platform/ios/detect.py index e11c0b7d91..40eb61abc8 100644 --- a/platform/ios/detect.py +++ b/platform/ios/detect.py @@ -103,13 +103,13 @@ def configure(env: "Environment"): if env["ios_simulator"]: detect_darwin_sdk_path("iossimulator", env) - env.Append(ASFLAGS=["-mios-simulator-version-min=11.0"]) - env.Append(CCFLAGS=["-mios-simulator-version-min=11.0"]) + env.Append(ASFLAGS=["-mios-simulator-version-min=12.0"]) + env.Append(CCFLAGS=["-mios-simulator-version-min=12.0"]) env.extra_suffix = ".simulator" + env.extra_suffix else: detect_darwin_sdk_path("ios", env) - env.Append(ASFLAGS=["-miphoneos-version-min=11.0"]) - env.Append(CCFLAGS=["-miphoneos-version-min=11.0"]) + env.Append(ASFLAGS=["-miphoneos-version-min=12.0"]) + env.Append(CCFLAGS=["-miphoneos-version-min=12.0"]) if env["arch"] == "x86_64": if not env["ios_simulator"]: @@ -154,7 +154,7 @@ def configure(env: "Environment"): env.Append(CPPDEFINES=["VULKAN_ENABLED"]) if env["opengl3"]: - env.Append(CPPDEFINES=["GLES3_ENABLED"]) + env.Append(CPPDEFINES=["GLES3_ENABLED", "GLES_SILENCE_DEPRECATION"]) env.Prepend( CPPPATH=[ "$IOS_SDK_PATH/System/Library/Frameworks/OpenGLES.framework/Headers", |