mirror of
https://github.com/godotengine/godot.git
synced 2024-11-21 03:18:37 +08:00
Fix UWP build after #17194
`uwp/detect.py` was not setting the `env.msvc` variable to true causing scons to pass wrong arguments to `msvc` (using `clang/gcc` options) which in turn break the build due to `-Werror=return-type` not being recognized by ms compiler.
This commit is contained in:
parent
4dbae5a738
commit
e6364c3fd5
@ -43,6 +43,8 @@ def get_flags():
|
||||
|
||||
def configure(env):
|
||||
|
||||
env.msvc = True
|
||||
|
||||
if (env["bits"] != "default"):
|
||||
print("Error: bits argument is disabled for MSVC")
|
||||
print("""
|
||||
|
Loading…
Reference in New Issue
Block a user