Merge pull request #66534 from akien-mga/scons-msvc-graphite-silence-c++17-deprecation-warnings

SCons: Silence MSVC C++17 deprecation warnings in Graphite
This commit is contained in:
Rémi Verschelde 2022-09-29 15:33:45 +02:00
commit 44799b896f

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