Fix the Chinese windows system encoding problem.
Bug: dawn:1532 Change-Id: I01d72f07c304c1ac058f58cfc004d5e8595dc7e4 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/102220 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
parent
a659937918
commit
c6927203d5
|
@ -329,6 +329,10 @@ function(common_compile_options TARGET)
|
||||||
target_link_options(${TARGET} PUBLIC -fsanitize=undefined)
|
target_link_options(${TARGET} PUBLIC -fsanitize=undefined)
|
||||||
endif()
|
endif()
|
||||||
endif(COMPILER_IS_LIKE_GNU)
|
endif(COMPILER_IS_LIKE_GNU)
|
||||||
|
|
||||||
|
if(MSVC)
|
||||||
|
target_compile_options(${TARGET} PUBLIC /utf-8)
|
||||||
|
endif()
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
||||||
if (${DAWN_ENABLE_TSAN})
|
if (${DAWN_ENABLE_TSAN})
|
||||||
|
|
Loading…
Reference in New Issue