From 51dbbeac1cbd1822b1d355cf94e47a0359603b39 Mon Sep 17 00:00:00 2001 From: sukibaby <163092272+sukibaby@users.noreply.github.com> Date: Wed, 28 Aug 2024 06:43:55 -0700 Subject: [PATCH] Reapply "Windows: Compile with /utf-8 flag" This reverts commit 48c1fe38567a4ed79eab3c8ac6c34b0b3c38d1ac. --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 4413aa047d..6af301721c 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -150,7 +150,7 @@ endif() if(MSVC) # TODO: Find a way to do this cleanly for non MSVC users. - set(SM_COMPILE_FLAGS "${SM_COMPILE_FLAGS} /MP2") + set(SM_COMPILE_FLAGS "${SM_COMPILE_FLAGS} /MP2 /utf-8") endif() set_target_properties("${SM_EXE_NAME}"