You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
SCons: Silence MSVC C++17 deprecation warnings in Graphite
Fixes #66497.
This commit is contained in:
@@ -215,6 +215,9 @@ if env["builtin_graphite"] and freetype_enabled and env["graphite"]:
|
|||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if env.msvc: # Not our business to fix.
|
||||||
|
env_graphite.Append(CCFLAGS=["-D_SILENCE_ALL_CXX17_DEPRECATION_WARNINGS"])
|
||||||
|
|
||||||
lib = env_graphite.add_library("graphite_builtin", thirdparty_sources)
|
lib = env_graphite.add_library("graphite_builtin", thirdparty_sources)
|
||||||
thirdparty_obj += lib
|
thirdparty_obj += lib
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user