SCons: Silence MSVC C++17 deprecation warnings in Graphite

Fixes #66497.
This commit is contained in:
Rémi Verschelde 2022-09-28 13:20:41 +02:00
parent 14e1f36e61
commit 965022e5f6

View file

@ -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)
thirdparty_obj += lib