You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
[iOS] Fix build with Xcode 15.
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user