From 2ca99fce0f50110d11fd87a0552ec6de5e8c82d0 Mon Sep 17 00:00:00 2001 From: halx99 Date: Fri, 26 Nov 2021 18:06:14 +0800 Subject: [PATCH] Improve codebase to c++17 --- cmake/Modules/CocosConfigDefine.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/Modules/CocosConfigDefine.cmake b/cmake/Modules/CocosConfigDefine.cmake index 0d646999b4..92fe21c24e 100644 --- a/cmake/Modules/CocosConfigDefine.cmake +++ b/cmake/Modules/CocosConfigDefine.cmake @@ -76,7 +76,7 @@ endif() # config c++ standard if(NOT DEFINED CXX_STD) - set(CXX_STD 14) + set(CXX_STD 17) endif() message(STATUS "CXX_STD=${CXX_STD}") set(CMAKE_CXX_STANDARD ${CXX_STD})