diff options
author | Jan Kotas <jkotas@microsoft.com> | 2017-11-02 23:06:38 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-02 23:06:38 +0300 |
commit | 9eb948aa36ed84898502f01ffc3d4533de875f43 (patch) | |
tree | f2a11b1408816e06e4c2b0a7f9773f7811bf666b | |
parent | 4d824e261a7223bf2a36d5b6c85d5c8ed93a205a (diff) |
Port https://github.com/dotnet/coreclr/pull/14822 (#4861)
-rw-r--r-- | src/Native/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
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($<$<CONFIG:Debug>:-DDEBUG>) add_compile_options($<$<CONFIG:Debug>:/MTd>) add_compile_options($<$<CONFIG:Release>:/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") |