Skip to content

Commit 0f62f05

Browse files
committed
Revert "[llvm] CMake: Force MSVC to read code as UTF-8"
This reverts commit 4d81c8a. Apparently, we have code that indirectly uses #pragma execution_character_set which depends on utf-8 not being set: http://lab.llvm.org:8011/#/builders/127/builds/1161/steps/4/logs/stdio
1 parent 64be856 commit 0f62f05

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

llvm/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -599,8 +599,6 @@ if(MSVC)
599599
if (BUILD_SHARED_LIBS)
600600
message(FATAL_ERROR "BUILD_SHARED_LIBS options is not supported on Windows.")
601601
endif()
602-
# Force MSVC to read code as UTF-8.
603-
add_compile_options(/utf-8)
604602
else()
605603
option(LLVM_LINK_LLVM_DYLIB "Link tools against the libllvm dynamic library" OFF)
606604
option(LLVM_BUILD_LLVM_C_DYLIB "Build libllvm-c re-export library (Darwin only)" OFF)

0 commit comments

Comments
 (0)