From ccb078da03d40e769afe8c96a4bd0a48c5c23fb6 Mon Sep 17 00:00:00 2001 From: Shauren Date: Sat, 11 Oct 2025 12:47:41 +0200 Subject: Build: Enable /utf-8 flag for msvc --- cmake/compiler/msvc/settings.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cmake/compiler') diff --git a/cmake/compiler/msvc/settings.cmake b/cmake/compiler/msvc/settings.cmake index f7817cb5d7c..de2327a55ae 100644 --- a/cmake/compiler/msvc/settings.cmake +++ b/cmake/compiler/msvc/settings.cmake @@ -26,7 +26,8 @@ target_compile_options(trinity-warning-interface # disable permissive mode to make msvc more eager to reject code that other compilers don't already accept target_compile_options(trinity-compile-option-interface INTERFACE - /permissive-) + /permissive- + /utf-8) if(PLATFORM EQUAL 32) # mark 32 bit executables large address aware so they can use > 2GB address space -- cgit v1.2.3