Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2017-11-09 03:20:39 +0300
committerGitHub <noreply@github.com>2017-11-09 03:20:39 +0300
commit162cead08753e6440d7e90ec4fb453a1a651785a (patch)
treedbb0478e51bd5b376386e6d0a38df7037fe51526 /src/Native/CMakeLists.txt
parent2bc2edc1e2b1b0e835366668b53ccfc48ece0949 (diff)
parent0566d28cd25fb5a8b708b94dd9ba7960a75e3b07 (diff)
Merge pull request #4894 from dotnet/master
Merge master to nmirror
Diffstat (limited to 'src/Native/CMakeLists.txt')
-rw-r--r--src/Native/CMakeLists.txt1
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")