From 9eb948aa36ed84898502f01ffc3d4533de875f43 Mon Sep 17 00:00:00 2001 From: Jan Kotas Date: Thu, 2 Nov 2017 13:06:38 -0700 Subject: Port https://github.com/dotnet/coreclr/pull/14822 (#4861) --- src/Native/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Native/CMakeLists.txt') diff --git a/src/Native/CMakeLists.txt b/src/Native/CMakeLists.txt index 5aeb930a5..e77b1b6f4 100644 --- a/src/Native/CMakeLists.txt +++ b/src/Native/CMakeLists.txt @@ -224,6 +224,7 @@ if(WIN32) add_compile_options($<$:-DDEBUG>) add_compile_options($<$:/MTd>) add_compile_options($<$:/MT>) + add_compile_options(/source-charset:utf-8) # Force MSVC to compile source as UTF-8. add_compile_options(/Zi) # enable debugging information set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} /DEBUG") -- cgit v1.2.3