mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
[macOS] Move Wno-deprecated-declarations
to pragmas in the OpenGL related files, update some deprecated code.
This commit is contained in:
parent
28a24639c3
commit
aecfd92ea8
6 changed files with 17 additions and 3 deletions
|
@ -231,7 +231,6 @@ def configure(env: "Environment"):
|
|||
|
||||
if env["opengl3"]:
|
||||
env.Append(CPPDEFINES=["GLES_ENABLED", "GLES3_ENABLED"])
|
||||
env.Append(CCFLAGS=["-Wno-deprecated-declarations"]) # Disable deprecation warnings
|
||||
env.Append(LINKFLAGS=["-framework", "OpenGL"])
|
||||
|
||||
env.Append(LINKFLAGS=["-rpath", "@executable_path/../Frameworks", "-rpath", "@executable_path"])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue