summaryrefslogtreecommitdiff
path: root/platform/uwp/detect.py
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-10-08 11:50:07 +0200
committerGitHub <noreply@github.com>2020-10-08 11:50:07 +0200
commit8be6db951d8f46197160a9e86868a729f74fc36f (patch)
tree555889b6e550cf8c5cef52afd69df6e6edc6cb65 /platform/uwp/detect.py
parent104cfaefcd11cfc30dedd53460593accab0d55cb (diff)
parent97f116d36bdc8a335f26eebb70a7480d96536ecb (diff)
Merge pull request #42634 from akien-mga/scons-warnings-gcc-Wsuggest-override
SCons: Refactor and cleanup warnings definition
Diffstat (limited to 'platform/uwp/detect.py')
-rw-r--r--platform/uwp/detect.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/uwp/detect.py b/platform/uwp/detect.py
index a7ca26c16c..6e57dbbf64 100644
--- a/platform/uwp/detect.py
+++ b/platform/uwp/detect.py
@@ -80,6 +80,9 @@ def configure(env):
env["ENV"] = os.environ
vc_base_path = os.environ["VCTOOLSINSTALLDIR"] if "VCTOOLSINSTALLDIR" in os.environ else os.environ["VCINSTALLDIR"]
+ # Force to use Unicode encoding
+ env.Append(MSVC_FLAGS=["/utf-8"])
+
# ANGLE
angle_root = os.getenv("ANGLE_SRC_PATH")
env.Prepend(CPPPATH=[angle_root + "/include"])