From 7044a0cff2d92d27d65ba6138e44077e5d34d2af Mon Sep 17 00:00:00 2001 From: yyc12345 Date: Thu, 30 May 2024 16:22:03 +0800 Subject: [PATCH] fix: fix utf8 output again. - I write a wrong CMakeLists.txt so the generated utf8 string is wrong. - Fixed in CMakeLists.txt. But still remove all utf8 string literal heading becasue it is not compatible with my code under C++ 20 standard. --- testbench/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testbench/CMakeLists.txt b/testbench/CMakeLists.txt index 2d5fa65..9eed591 100644 --- a/testbench/CMakeLists.txt +++ b/testbench/CMakeLists.txt @@ -5,7 +5,7 @@ add_executable(Testbench # Add YYCC as its library target_include_directories(Testbench PRIVATE - + YYCCommonplace ) target_link_libraries(Testbench PRIVATE @@ -19,7 +19,7 @@ PROPERTIES CXX_EXTENSION OFF ) # Order build as UTF-8 in MSVC -target_compile_options(YYCCommonplace +target_compile_options(Testbench PRIVATE $<$:/utf-8> )