diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2020-10-09 13:56:20 +0300 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2020-10-09 13:56:20 +0300 |
commit | 56f3aba7b2c1c74556cfc1dd8f9b24af71c33b16 (patch) | |
tree | 0cd2a6453c7e928b76a55163b7da233d6b6b3401 /platform/windows | |
parent | cb9bf98bbac5aa0021a737c6003312a8d3de59b9 (diff) |
[Windows, MSVC] Correctly set source file encoding.
Diffstat (limited to 'platform/windows')
-rw-r--r-- | platform/windows/detect.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/windows/detect.py b/platform/windows/detect.py index d5474ace9c..489e45404f 100644 --- a/platform/windows/detect.py +++ b/platform/windows/detect.py @@ -223,7 +223,7 @@ def configure_msvc(env, manual_msvc_config): env.AppendUnique(CCFLAGS=["/MT", "/Gd", "/GR", "/nologo"]) # Force to use Unicode encoding - env.Append(MSVC_FLAGS=["/utf-8"]) + env.AppendUnique(CCFLAGS=["/utf-8"]) env.AppendUnique(CXXFLAGS=["/TP"]) # assume all sources are C++ if manual_msvc_config: # should be automatic if SCons found it if os.getenv("WindowsSdkDir") is not None: |