diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-09-29 15:33:45 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-09-29 15:33:45 +0200 |
commit | 44799b896f6d3508a12741faca5a8003d0ece870 (patch) | |
tree | 7851278ebb2eacab43abf61931856d1bcf535ee4 /modules/text_server_adv/SCsub | |
parent | f5f4d9bf0011f8904cadbd47bc6e53d4d59d7d96 (diff) | |
parent | 965022e5f62d393465e3c16a25aa3396b9bf7154 (diff) |
Merge pull request #66534 from akien-mga/scons-msvc-graphite-silence-c++17-deprecation-warnings
SCons: Silence MSVC C++17 deprecation warnings in Graphite
Diffstat (limited to 'modules/text_server_adv/SCsub')
-rw-r--r-- | modules/text_server_adv/SCsub | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/text_server_adv/SCsub b/modules/text_server_adv/SCsub index 8d0245f0f6..847d8b7ee3 100644 --- a/modules/text_server_adv/SCsub +++ b/modules/text_server_adv/SCsub @@ -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 |