1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-31 18:41:20 +00:00

SCons: Enable /WX on LINKFLAGS for MSVC with werror=yes

This commit is contained in:
Rémi Verschelde
2023-08-17 13:01:15 +02:00
parent 0511f9d9a7
commit 30bdb23f03

View File

@@ -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 = []