aboutsummaryrefslogtreecommitdiff
path: root/cmake/compiler
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2025-10-11 12:47:41 +0200
committerShauren <shauren.trinity@gmail.com>2025-10-11 12:47:41 +0200
commitccb078da03d40e769afe8c96a4bd0a48c5c23fb6 (patch)
tree802c0cfa6c0f6e5c936a30a51aa484a37a4b0508 /cmake/compiler
parent7c95937a6754e8587d6d4289c11c13c8f6ee59a0 (diff)
Build: Enable /utf-8 flag for msvc
Diffstat (limited to 'cmake/compiler')
-rw-r--r--cmake/compiler/msvc/settings.cmake3
1 files changed, 2 insertions, 1 deletions
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