mirror of
https://github.com/godotengine/godot.git
synced 2025-04-13 01:00:35 +08:00
Merge pull request #80711 from akien-mga/scons-msvc-werror-link-flags
SCons: Enable `/WX` on LINKFLAGS for MSVC with `werror=yes`
This commit is contained in:
commit
ff5c884153
@ -752,6 +752,7 @@ if selected_platform in platform_list:
|
||||
|
||||
if env["werror"]:
|
||||
env.Append(CCFLAGS=["/WX"])
|
||||
env.Append(LINKFLAGS=["/WX"])
|
||||
else: # GCC, Clang
|
||||
common_warnings = []
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user