diff --git a/CMakeLists.txt b/CMakeLists.txt index 155ce70..cc4d96e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.14) project(GacUI CXX) # C++标准要求 -set(CMAKE_CXX_STANDARD 17) +set(CMAKE_CXX_STANDARD 20) # 设置编译库文件版本后缀 set(CMAKE_DEBUG_POSTFIX "d" CACHE STRING "add a postfix, usually d on windows") diff --git a/Readme.md b/Readme.md index c492d01..6070491 100644 --- a/Readme.md +++ b/Readme.md @@ -11,6 +11,8 @@ # 如何编译GacUI +**注意:最新版本(>=1.0.3.0)需要编译器支持C++20标准** + 1. 克隆项目,注意要递归下载GacUI源码 ```bash