diff --git a/CMakeLists.txt b/CMakeLists.txt index 7d9ef8b..979117d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,6 +16,9 @@ PROJECT(DM) message(STATUS "CMAKE_SYSTEM_PROCESSOR=${CMAKE_SYSTEM_PROCESSOR}") +add_compile_options("$<$:/utf-8>") +add_compile_options("$<$:/utf-8>") + # 支持简版if else set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS true)