From 15791777c892c701ec293ee993e5a0cc707303b0 Mon Sep 17 00:00:00 2001 From: Ben McAvoy Date: Wed, 6 Nov 2024 00:02:00 +0000 Subject: [PATCH] fix: support utf8 on windows --- libs/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libs/CMakeLists.txt b/libs/CMakeLists.txt index ff99446bf..8568f19ed 100755 --- a/libs/CMakeLists.txt +++ b/libs/CMakeLists.txt @@ -1,5 +1,9 @@ cmake_minimum_required(VERSION 3.5) +if (WIN32) + add_compile_options(/utf-8) +endif() + # --- GLFW --- add_subdirectory(glfw)