File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -235,6 +235,8 @@ def configure(env: "SConsEnvironment"):
235
235
)
236
236
env .Append (LIBS = ["pthread" , "z" ])
237
237
238
+ extra_frameworks = set ()
239
+
238
240
if env ["opengl3" ]:
239
241
env .Append (CPPDEFINES = ["GLES3_ENABLED" ])
240
242
if env ["angle_libs" ] != "" :
@@ -243,6 +245,7 @@ def configure(env: "SConsEnvironment"):
243
245
env .Append (LINKFLAGS = ["-lANGLE.macos." + env ["arch" ]])
244
246
env .Append (LINKFLAGS = ["-lEGL.macos." + env ["arch" ]])
245
247
env .Append (LINKFLAGS = ["-lGLES.macos." + env ["arch" ]])
248
+ extra_frameworks .add ("IOSurface" )
246
249
env .Prepend (CPPEXTPATH = ["#thirdparty/angle/include" ])
247
250
248
251
env .Append (LINKFLAGS = ["-rpath" , "@executable_path/../Frameworks" , "-rpath" , "@executable_path" ])
@@ -251,8 +254,6 @@ def configure(env: "SConsEnvironment"):
251
254
print_warning ("Target architecture '{}' does not support the Metal rendering driver" .format (env ["arch" ]))
252
255
env ["metal" ] = False
253
256
254
- extra_frameworks = set ()
255
-
256
257
if env ["metal" ]:
257
258
env .AppendUnique (CPPDEFINES = ["METAL_ENABLED" , "RD_ENABLED" ])
258
259
extra_frameworks .add ("Metal" )
You can’t perform that action at this time.
0 commit comments