You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
MacOS: Embedded window support.
This commit is contained in:
@@ -231,6 +231,8 @@ def configure(env: "SConsEnvironment"):
|
||||
"Security",
|
||||
"-framework",
|
||||
"UniformTypeIdentifiers",
|
||||
"-framework",
|
||||
"IOSurface",
|
||||
]
|
||||
)
|
||||
env.Append(LIBS=["pthread", "z"])
|
||||
@@ -245,7 +247,6 @@ def configure(env: "SConsEnvironment"):
|
||||
env.Append(LINKFLAGS=["-lANGLE.macos." + env["arch"]])
|
||||
env.Append(LINKFLAGS=["-lEGL.macos." + env["arch"]])
|
||||
env.Append(LINKFLAGS=["-lGLES.macos." + env["arch"]])
|
||||
extra_frameworks.add("IOSurface")
|
||||
env.Prepend(CPPEXTPATH=["#thirdparty/angle/include"])
|
||||
|
||||
env.Append(LINKFLAGS=["-rpath", "@executable_path/../Frameworks", "-rpath", "@executable_path"])
|
||||
@@ -264,7 +265,6 @@ def configure(env: "SConsEnvironment"):
|
||||
if env["vulkan"]:
|
||||
env.AppendUnique(CPPDEFINES=["VULKAN_ENABLED", "RD_ENABLED"])
|
||||
extra_frameworks.add("Metal")
|
||||
extra_frameworks.add("IOSurface")
|
||||
if not env["use_volk"]:
|
||||
env.Append(LINKFLAGS=["-lMoltenVK"])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user