From 8968a949da34f000ce9eed4afd670193d432c0a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=80=E7=BA=BF=E7=81=B5=7CDeal?= Date: Wed, 5 Oct 2022 13:20:04 +0800 Subject: [PATCH] Set default c++ standard to 17 [skip ci] --- cmake/Modules/AXConfigDefine.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/Modules/AXConfigDefine.cmake b/cmake/Modules/AXConfigDefine.cmake index dbc590671f..b539209f8f 100644 --- a/cmake/Modules/AXConfigDefine.cmake +++ b/cmake/Modules/AXConfigDefine.cmake @@ -77,7 +77,7 @@ endif() # config c++ standard if(NOT DEFINED CXX_STD) - set(CXX_STD 20) + set(CXX_STD 17) endif() message(STATUS "CXX_STD=${CXX_STD}") set(CMAKE_CXX_STANDARD ${CXX_STD})