mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-18 18:20:39 +08:00
chore: 修改 CMakeLists 的 C++ 标准
This commit is contained in:
@@ -4,7 +4,7 @@ project(MaaAssistantArknights)
|
||||
option(BUILD_JNI "build jni" OFF)
|
||||
option(BUILD_TEST "build a demo" OFF)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
set(CMAKE_CXX_STANDARD 20)
|
||||
|
||||
if (WIN32)
|
||||
add_compile_options("$<$<C_COMPILER_ID:MSVC>:/utf-8>")
|
||||
|
||||
Reference in New Issue
Block a user