We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef77382 commit 4d81c8aCopy full SHA for 4d81c8a
llvm/CMakeLists.txt
@@ -599,6 +599,8 @@ if(MSVC)
599
if (BUILD_SHARED_LIBS)
600
message(FATAL_ERROR "BUILD_SHARED_LIBS options is not supported on Windows.")
601
endif()
602
+ # Force MSVC to read code as UTF-8.
603
+ add_compile_options(/utf-8)
604
else()
605
option(LLVM_LINK_LLVM_DYLIB "Link tools against the libllvm dynamic library" OFF)
606
option(LLVM_BUILD_LLVM_C_DYLIB "Build libllvm-c re-export library (Darwin only)" OFF)
0 commit comments