diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index caa92150c7d7..94dc810cce4f 100644 --- a/cmake/CMakeLists.txt +++ b/cmake/CMakeLists.txt @@ -209,6 +209,8 @@ if (MSVC) # Build with multiple processes add_definitions(/MP) endif() + # Set source file and execution character sets to UTF-8 + add_definitions(/utf-8) # MSVC warning suppressions add_definitions( /wd4018 # 'expression' : signed/unsigned mismatch